pthread_once.3 (5203edcdc553fda6caa1da8826a89b1a02dad1bf) | pthread_once.3 (ddbb94ad969a7574d6fedadcabf041688cb6e81d) |
---|---|
1.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 64 unchanged lines hidden (view full) --- 73routine has been called. 74.Pp 75The function 76.Fn pthread_once 77is not a cancellation point. 78However, if 79.Fn init_routine 80is a cancellation point and is cancelled, the effect on | 1.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 64 unchanged lines hidden (view full) --- 73routine has been called. 74.Pp 75The function 76.Fn pthread_once 77is not a cancellation point. 78However, if 79.Fn init_routine 80is a cancellation point and is cancelled, the effect on |
81.Fa once_control is as if | 81.Fa once_control 82is as if |
82.Fn pthread_once 83was never called. 84.Pp 85The constant 86.Fa PTHREAD_ONCE_INIT 87is defined by header 88.In pthread.h . 89.Pp --- 19 unchanged lines hidden --- | 83.Fn pthread_once 84was never called. 85.Pp 86The constant 87.Fa PTHREAD_ONCE_INIT 88is defined by header 89.In pthread.h . 90.Pp --- 19 unchanged lines hidden --- |