Async clean ups
Removed the function ASYNC_job_is_waiting() as it was redundant. The only time user code has a handle on a job is when one is waiting, so all they need to do is check whether the job is NULL. Also did some cleanups to make sure the job really is NULL after it has been freed! Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
@@ -70,7 +70,6 @@ int ASYNC_start_job(ASYNC_JOB **job, int *ret, int (*func)(void *),
|
||||
void *args, size_t size);
|
||||
int ASYNC_pause_job(void);
|
||||
int ASYNC_in_job(void);
|
||||
int ASYNC_job_is_waiting(ASYNC_JOB *job);
|
||||
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user