Ignore:
Timestamp:
Aug 10, 2022, 8:33:42 PM (2 years ago)
Author:
z277zhu <z277zhu@…>
Branches:
ADT, ast-experimental, master, pthread-emulation
Children:
7f6a7c9
Parents:
20be782
Message:

fix pthread_sig* interpose problems; add test doc

Signed-off-by: z277zhu <z277zhu@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/defs.hfa

    r20be782 r428adbc  
    2121#include <stdint.h>
    2222#include <assert.h>
    23 
     23#include <signal.h>
    2424
    2525#define likely(x)   __builtin_expect(!!(x), 1)
     
    5353        int real_pthread_attr_setstack( pthread_attr_t *attr, void *stackaddr, size_t stacksize );
    5454        int real_pthread_attr_getstacksize( const pthread_attr_t *attr, size_t *stacksize );
    55         //int real_pthread_sigqueue(pthread_t _thread, int sig, const union sigval value);
    56         //int real_pthread_sigmask( int /* how */, const sigset_t * /* set */, sigset_t * /* oset */ );
     55        int real_pthread_sigqueue(pthread_t _thread, int sig, const union sigval value);
     56        int real_pthread_sigmask( int how, const sigset_t *set, sigset_t *oset);
    5757}
    5858#endif
Note: See TracChangeset for help on using the changeset viewer.