Lines Matching defs:NSPR_API
193 #define NSPR_API(__type) PR_EXPORT(__type)
196 #define NSPR_API(__type) PR_IMPORT(__type)
306 NSPR_API(PRIntervalTime) PR_IntervalNow(void);
307 NSPR_API(PRUint32) PR_TicksPerSecond(void);
308 NSPR_API(PRIntervalTime) PR_SecondsToInterval(PRUint32 seconds);
309 NSPR_API(PRIntervalTime) PR_MillisecondsToInterval(PRUint32 milli);
310 NSPR_API(PRIntervalTime) PR_MicrosecondsToInterval(PRUint32 micro);
311 NSPR_API(PRUint32) PR_IntervalToSeconds(PRIntervalTime ticks);
312 NSPR_API(PRUint32) PR_IntervalToMilliseconds(PRIntervalTime ticks);
313 NSPR_API(PRUint32) PR_IntervalToMicroseconds(PRIntervalTime ticks);
317 NSPR_API(PRMonitor*) PR_NewMonitor(void);
318 NSPR_API(void) PR_DestroyMonitor(PRMonitor *mon);
319 NSPR_API(void) PR_EnterMonitor(PRMonitor *mon);
320 NSPR_API(PRStatus) PR_ExitMonitor(PRMonitor *mon);
321 NSPR_API(PRStatus) PR_Wait(PRMonitor *mon, PRIntervalTime ticks);
322 NSPR_API(PRStatus) PR_Notify(PRMonitor *mon);
323 NSPR_API(PRStatus) PR_NotifyAll(PRMonitor *mon);
373 NSPR_API(PRThread*) PR_CreateThread(PRThreadType type,
380 NSPR_API(PRStatus) PR_JoinThread(PRThread *thread);
381 NSPR_API(PRThread*) PR_GetCurrentThread(void);
385 NSPR_API(PRThreadPriority) PR_GetThreadPriority(const PRThread *thread);
386 NSPR_API(void) PR_SetThreadPriority(PRThread *thread, PRThreadPriority priority);
390 NSPR_API(PRStatus) PR_NewThreadPrivateIndex(
392 NSPR_API(PRStatus) PR_SetThreadPrivate(PRUintn tpdIndex, void *priv);
393 NSPR_API(void*) PR_GetThreadPrivate(PRUintn tpdIndex);
394 NSPR_API(PRStatus) PR_Interrupt(PRThread *thread);
395 NSPR_API(void) PR_ClearInterrupt(void);
396 NSPR_API(void) PR_BlockInterrupt(void);
397 NSPR_API(void) PR_UnblockInterrupt(void);
398 NSPR_API(PRStatus) PR_Sleep(PRIntervalTime ticks);
399 NSPR_API(PRThreadScope) PR_GetThreadScope(const PRThread *thread);
400 NSPR_API(PRThreadType) PR_GetThreadType(const PRThread *thread);
401 NSPR_API(PRThreadState) PR_GetThreadState(const PRThread *thread);
412 NSPR_API(PRLock*) PR_NewLock(void);
413 NSPR_API(void) PR_DestroyLock(PRLock *lock);
414 NSPR_API(void) PR_Lock(PRLock *lock);
415 NSPR_API(PRStatus) PR_Unlock(PRLock *lock);
427 NSPR_API(PRCondVar*) PR_NewCondVar(PRLock *lock);
428 NSPR_API(void) PR_DestroyCondVar(PRCondVar *cvar);
429 NSPR_API(PRStatus) PR_WaitCondVar(PRCondVar *cvar, PRIntervalTime timeout);
430 NSPR_API(PRStatus) PR_NotifyCondVar(PRCondVar *cvar);
431 NSPR_API(PRStatus) PR_NotifyAllCondVar(PRCondVar *cvar);