version 1.15, 2012/08/23 02:33:12
|
version 1.17, 2013/05/30 09:13:52
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 239 sched_hook_thread(void *task, void *arg)
|
Line 239 sched_hook_thread(void *task, void *arg)
|
|
|
sigfillset(&s); |
sigfillset(&s); |
pthread_sigmask(SIG_BLOCK, &s, &o); |
pthread_sigmask(SIG_BLOCK, &s, &o); |
if (pthread_create(&tid, (pthread_attr_t*) arg, | if ((errno = pthread_create(&tid, (pthread_attr_t*) arg, |
(void *(*)(void*)) _sched_threadWrapper, t)) { | (void *(*)(void*)) _sched_threadWrapper, t))) { |
LOGERR; |
LOGERR; |
pthread_sigmask(SIG_SETMASK, &o, NULL); |
pthread_sigmask(SIG_SETMASK, &o, NULL); |
return (void*) -1; |
return (void*) -1; |