 within a job - should not happen\n&quot;);
        return 0;
    }

    msg = (unsigned char *)arg;
    printf(&quot;Passed in message is: %s\n&quot;, msg);

    /*
     * Create a way to inform the calling thread when this job is ready
     * to resume, in this example we&#39;re using file descriptors.
     * For offloading the task to an asynchronous ENGINE it&#39;s not necessary,
     * the ENGINE should handle that internally.
     */

    if (pipe(pipefds) != 0) {
        printf(&quot;Failed to create