blocking call (it won&#39;t block with this example code) */
    read(pipefds[0], &amp;buf, 1);

    printf (&quot;Resumed the job after a pause\n&quot;);

    return 1;
}

int main(void)
{
    ASYNC_JOB *job = NULL;
    ASYNC_WAIT_CTX *ctx = NULL;
    int ret;
    OSSL_ASYNC_FD waitfd;
    fd_set waitfdset;
    size_t numfds;
    unsigned char msg[13] = &quot;Hello world!&quot;;

    printf(&quot;Starting...\n&quot;);

    ctx = ASYNC_WAIT_CTX_new();
    if (ctx == NULL) {
        printf(&quot;Failed to cr