ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.xs
(Generate patch)

Comparing IO-AIO/AIO.xs (file contents):
Revision 1.72 by root, Tue Oct 24 17:22:17 2006 UTC vs.
Revision 1.73 by root, Tue Oct 24 21:26:30 2006 UTC

557 557
558static void *aio_proc(void *arg); 558static void *aio_proc(void *arg);
559 559
560static void start_thread (void) 560static void start_thread (void)
561{ 561{
562 sigset_t fullsigset, oldsigset;
563 pthread_attr_t attr;
564
562 worker *wrk = calloc (1, sizeof (worker)); 565 worker *wrk = calloc (1, sizeof (worker));
563 566
564 if (!wrk) 567 if (!wrk)
565 croak ("unable to allocate worker thread data"); 568 croak ("unable to allocate worker thread data");
566
567 sigset_t fullsigset, oldsigset;
568 pthread_attr_t attr;
569 569
570 pthread_attr_init (&attr); 570 pthread_attr_init (&attr);
571 pthread_attr_setstacksize (&attr, STACKSIZE); 571 pthread_attr_setstacksize (&attr, STACKSIZE);
572 pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED); 572 pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
573 573

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines