File: stl_threads.h

package info (click to toggle)
gccxml 0.9.0%2Bgit20140716-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 60,796 kB
  • ctags: 77,240
  • sloc: ansic: 793,461; cpp: 37,497; asm: 26,833; sh: 5,086; makefile: 4,700; lex: 589; awk: 566; perl: 334; yacc: 271; pascal: 86
file content (11 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __SGI_STL_INTERNAL_THREADS_H_GCCXML
#define __SGI_STL_INTERNAL_THREADS_H_GCCXML

#define __add_and_fetch(__l,__v) add_then_test((unsigned long*)__l,__v)  
#define __test_and_set(__l,__v)  test_and_set(__l,__v)
#define __lock_release(__l) asm("sync"); *__l = 0

#include_next <stl_threads.h>

#endif