version 1.3.2.1, 2012/01/24 15:29:09
|
version 1.10, 2013/06/19 00:16:35
|
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 | Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 |
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 47 SUCH DAMAGE.
|
Line 47 SUCH DAMAGE.
|
#define __DEFS_H |
#define __DEFS_H |
|
|
|
|
|
#ifndef STRSIZ |
#define STRSIZ 256 |
#define STRSIZ 256 |
#define KQ_EVENTS 24 | #endif |
#define MAX_EVENTLO_MISS 48 | |
|
|
|
#ifndef KQ_EVENTS |
|
#define KQ_EVENTS 32 |
|
#endif |
|
|
|
#define MAX_TASK_MISS 12 |
|
|
#define LOGERR { \ |
#define LOGERR { \ |
sched_Errno = errno; \ |
sched_Errno = errno; \ |
strlcpy(sched_Error, strerror(errno), STRSIZ); \ |
strlcpy(sched_Error, strerror(errno), STRSIZ); \ |
Line 89 extern char sched_Error[];
|
Line 95 extern char sched_Error[];
|
|
|
inline void sched_SetErr(int, char *, ...); |
inline void sched_SetErr(int, char *, ...); |
|
|
inline sched_task_t *_sched_useTask(sched_root_task_t * __restrict root); | void *_sched_threadWrapper(sched_task_t *); |
inline sched_task_t *_sched_unuseTask(sched_task_t * __restrict task); | |
|
|
|
|
#endif |
#endif |