/[pdpsoft]/trunk/grid-mw-security/ees/src/aos/aos.c
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/src/aos/aos.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1356 by aramv, Mon Jan 11 09:34:05 2010 UTC revision 1357 by aramv, Mon Jan 11 10:21:58 2010 UTC
# Line 312  aos_attribute_t * aos_get_attribute_by_l Line 312  aos_attribute_t * aos_get_attribute_by_l
312  /* initializer & terminator */  /* initializer & terminator */
313    
314  EES_RC AOS_Init (void){  EES_RC AOS_Init (void){
315    #ifdef __FreeBSD__
316      _aos_key_once = {0, (pthread_mutex_t)NULL};//PTHREAD_ONCE_INIT;
317    #else
318    _aos_key_once = PTHREAD_ONCE_INIT;    _aos_key_once = PTHREAD_ONCE_INIT;
319    #endif
320    _is_threading = 0;    _is_threading = 0;
321    pthread_once(&_aos_key_once, aos_make_key);    pthread_once(&_aos_key_once, aos_make_key);
322    

Legend:
Removed from v.1356  
changed lines
  Added in v.1357

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28