File: sem_post.c

package info (click to toggle)
uclibc 1.0.20-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 27,440 kB
  • ctags: 52,299
  • sloc: ansic: 218,051; asm: 35,518; cpp: 4,378; makefile: 2,781; sh: 618; yacc: 610; perl: 562; lex: 364; awk: 40
file content (5 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (5)
1
2
3
4
5
/* ??? This is an ass-backwards way to do this.  We should simply define
   the acquire/release semantics of atomic_exchange_and_add.  And even if
   we don't do this, we should be using atomic_full_barrier or otherwise.  */
#define __lll_rel_instr  "mb"
#include "../sem_post.c"