diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-02 21:01:38 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-02 21:01:38 +0100 |
commit | f7d30133221896638f7bf4f66c504255c4b14f48 (patch) | |
tree | 5f3e07a049f388a3a309a615b8884318f6668a98 /nsprpub/pr/include/prtpool.h | |
parent | 26b297510a11758727438df4669357a2a2bc42ce (diff) | |
download | UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar.gz UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar.lz UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar.xz UXP-f7d30133221896638f7bf4f66c504255c4b14f48.zip |
Issue #1338 - Part 1: Update NSPR to 4.24
Diffstat (limited to 'nsprpub/pr/include/prtpool.h')
-rw-r--r-- | nsprpub/pr/include/prtpool.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nsprpub/pr/include/prtpool.h b/nsprpub/pr/include/prtpool.h index 6a434dd13..b4d18d415 100644 --- a/nsprpub/pr/include/prtpool.h +++ b/nsprpub/pr/include/prtpool.h @@ -13,8 +13,8 @@ /* * NOTE: - * THIS API IS A PRELIMINARY VERSION IN NSPR 4.0 AND IS SUBJECT TO - * CHANGE + * THIS API IS A PRELIMINARY VERSION IN NSPR 4.0 AND IS SUBJECT TO + * CHANGE */ PR_BEGIN_EXTERN_C @@ -32,7 +32,7 @@ typedef void (PR_CALLBACK *PRJobFn) (void *arg); /* Create thread pool */ NSPR_API(PRThreadPool *) PR_CreateThreadPool(PRInt32 initial_threads, PRInt32 max_threads, - PRUint32 stacksize); + PRUint32 stacksize); /* queue a job */ NSPR_API(PRJob *) @@ -41,27 +41,27 @@ PR_QueueJob(PRThreadPool *tpool, PRJobFn fn, void *arg, PRBool joinable); /* queue a job, when a socket is readable */ NSPR_API(PRJob *) PR_QueueJob_Read(PRThreadPool *tpool, PRJobIoDesc *iod, - PRJobFn fn, void * arg, PRBool joinable); + PRJobFn fn, void * arg, PRBool joinable); /* queue a job, when a socket is writeable */ NSPR_API(PRJob *) PR_QueueJob_Write(PRThreadPool *tpool, PRJobIoDesc *iod, - PRJobFn fn, void * arg, PRBool joinable); + PRJobFn fn, void * arg, PRBool joinable); /* queue a job, when a socket has a pending connection */ NSPR_API(PRJob *) PR_QueueJob_Accept(PRThreadPool *tpool, PRJobIoDesc *iod, - PRJobFn fn, void * arg, PRBool joinable); + PRJobFn fn, void * arg, PRBool joinable); /* queue a job, when the socket connection to addr succeeds or fails */ NSPR_API(PRJob *) PR_QueueJob_Connect(PRThreadPool *tpool, PRJobIoDesc *iod, - const PRNetAddr *addr, PRJobFn fn, void * arg, PRBool joinable); + const PRNetAddr *addr, PRJobFn fn, void * arg, PRBool joinable); /* queue a job, when a timer exipres */ NSPR_API(PRJob *) PR_QueueJob_Timer(PRThreadPool *tpool, PRIntervalTime timeout, - PRJobFn fn, void * arg, PRBool joinable); + PRJobFn fn, void * arg, PRBool joinable); /* cancel a job */ NSPR_API(PRStatus) PR_CancelJob(PRJob *job); |