diff options
Diffstat (limited to 'include/pthread.h')
-rw-r--r-- | include/pthread.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/pthread.h b/include/pthread.h index 455e27b89f8b..311211cb48f1 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -31,8 +31,6 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #ifndef _PTHREAD_H_ #define _PTHREAD_H_ @@ -45,6 +43,9 @@ #include <machine/_limits.h> #include <sys/_types.h> #include <sys/_sigset.h> +#if __BSD_VISIBLE +#include <sys/_sigval.h> +#endif #include <sched.h> #include <time.h> @@ -304,6 +305,10 @@ void pthread_yield(void); int pthread_getname_np(pthread_t, char *, size_t); int pthread_setname_np(pthread_t, const char *); + +int pthread_sigqueue(pthread_t thread, int sig, + const union sigval value); + #endif int pthread_mutexattr_getprioceiling( |