This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: POSIX signals


Ross,

It's too bad pthreads-win doesn't support POSIX signals. It's only a dozen functions. Will try to implement when I can find some time.

Robin


On Sat, 2005-03-12 at 23:38 -0800, Robin Rowe wrote:
Hi. I'm porting JamVM Java to Windows. Pthreads is a great help. Also need
POSIX signals. Is that available?


Here are the functions I need.

int sched_yield();
int sigemptyset(sigset_t *set);
int sigfillset(sigset_t *set);
int sigaddset(sigset_t *set, int signum);
int sigdelset(sigset_t *set, int signum);
int sigismember(const sigset_t *set, int signum);
int sigsuspend(const sigset_t *sigmask);
int sigwait(const sigset_t *set, int *sig);
int sigaction(int sig, const struct sigaction* act,struct sigaction* oact);
int sigprocmask(int how, const sigset_t *set, sigset_t *oset);
int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]