Hello,
I wanna use sigwaitinfo since pthread* ftn doesn't work on sig_handler.
so i replace some code fractions that worked properly .
replacing code using sigwaitinfo never return on sigwaitinfo call
if read/write call take place in the pthread different to pthread that call
sigwaitinfo .
if read/write call take place in the same pthread it works.
but i wanna call r/w in different pthread.
The shared sigqueue suggested by Robert may be the solution.
but i doesn't match my kernel version 2.2.16.
updating to 2.3.- cannot be the solution to me. because
I'm not a kernel developer.
updating to 2.4.- do also, because kaio-patches and shared sigqueue
doesn't be provided.
could you tell me the best solution in my situation?
my gcc version is egcs-2.91.66. kernel version is 2.2.16-3smp
and kaio-* patched
Regards,
Hee S. Kim
hskim@xxxxxxxxxxxxxxxxxx
p.s.) I've heard "wake up one" socket implemented on kernel 2.4.-.
what it means?
|