ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro-Multicore/xthread.h
(Generate patch)

Comparing Coro-Multicore/xthread.h (file contents):
Revision 1.3 by root, Sun Jul 5 03:50:57 2015 UTC vs.
Revision 1.4 by root, Sun Jul 5 04:13:52 2015 UTC

166#define respipe_write(a,b,c) write ((a), (b), (c)) 166#define respipe_write(a,b,c) write ((a), (b), (c))
167#define respipe_close(a) close ((a)) 167#define respipe_close(a) close ((a))
168 168
169#endif 169#endif
170 170
171#if __linux && __GNUC__ >= 4 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 9 171#if __linux && __GNUC__ >= 4 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 3 && 0
172/* __thread has little to no advantage over pthread_* in most configurations, so this is not used */
172# define X_TLS_DECLARE(varname) __thread void *varname 173# define X_TLS_DECLARE(varname) __thread void *varname
173# define X_TLS_INIT(varname) 174# define X_TLS_INIT(varname)
174# define X_TLS_SET(varname,value) varname = (value) 175# define X_TLS_SET(varname,value) varname = (value)
175# define X_TLS_GET(varname) varname 176# define X_TLS_GET(varname) varname
176#else 177#else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines