apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damir Dezeljin <program...@mbss.org>
Subject Opening a named pipe problem
Date Tue, 18 Feb 2003 12:21:23 GMT
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


Mime
View raw message