Causes a job to be queued when a socket becomes readable.
#include <prtpool.h> NSPR_API(PRJob *) PR_QueueJob_Read( PRThreadPool *tpool, PRJobIoDesc *iod, PRJobFn fn, void *arg, PRBool joinable );
The function has the following parameters:
A pointer to a PRJobIoDesc structure.
The function to be executed when the job is executed.
A pointer to an argument passed to
PR_TRUE, the job is joinable. If
PR_FALSE, the job is not joinable. See PR_JoinJob.