PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/packages/libogcfpc/src/ogc/cond.inc

https://github.com/slibre/freepascal
Pascal | 27 lines | 12 code | 13 blank | 2 comment | 0 complexity | 5dae6e5ff8abb52ec17044c6475f9d94 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
 1{$IFDEF OGC_INTERFACE}
 2const
 3  LWP_COND_NULL = $ffffffff;
 4
 5type
 6  cond_t = cuint32;
 7  Pcond_t = ^cond_t;
 8
 9  function LWP_CondInit(cond: Pcond_t): cint32; cdecl; external;
10
11
12function LWP_CondWait(cond: cond_t; mutex: mutex_t): cint32; cdecl; external;
13
14
15function LWP_CondSignal(cond: cond_t): cint32; cdecl; external;
16
17
18function LWP_CondBroadcast(cond: cond_t): cint32; cdecl; external;
19
20function LWP_CondTimedWait(cond: cond_t; mutex: mutex_t; abstime: Ptimespec)
21  : cint32; cdecl; external;
22
23function LWP_CondDestroy(cond: cond_t): cint32; cdecl; external;
24{$ENDIF}
25
26
27