ec_spool_ctx_lock
Last updated March 2020
Name
ec_spool_ctx_lock — Lock a spool context
Synopsis
#include "spool.h"
| int **ec_spool_ctx_lock** (
| ctx)
; | |
Description
Lock a spool context.
- ctx
-
The spool context to lock.
Returns 0
on success, or the pid of the process that holds the lock. On error it returns -1
.
It is legal to call this function in the Scheduler
thread.
See Also
Was this page helpful?