Hi.

I created a named pipe file on the FS by using
apr_file_namedpipe_create(
    "fileName",
    APR_UREAD | APR_UWRITE,
    pool_p);

After that I try to open it with:
rv = apr_file_open(
    &pointer_to_apr_file,
    "fileName",
    APR_WRITE | APR_APPEND | APR_BINARY,
    APR_OS_DEFAULT,
    pool_p);

It seams that this call blocks (the program just stop running there).
Maybe this is because some 'blocking' pipe properties. However I didn't
find an answer to the question 'how to open a named_pipe without blocking.

Any hint?

Regards,
Dezo

Reply via email to