diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-04-15 02:56:50 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2000-04-15 02:56:50 +0000 |
commit | cbee0cae1c81e13839c1b86fd4d11e0b3d73be8c (patch) | |
tree | 23fb02cd26e11c18d77cabbb4c9a38c7ea92a3ec /file_io/unix/pipe.c | |
parent | f2ca1524dba4443da890aef3595cf3b6df7ed740 (diff) | |
download | libapr-cbee0cae1c81e13839c1b86fd4d11e0b3d73be8c.tar.gz |
ap_set_pipe_timeout() now takes microseconds instead of seconds;
ap_interval_time_t was created to represent intervals;
Unfortunately, some compile fixes for the recently added buffering
code are mixed in with these changes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59862 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/unix/pipe.c')
-rw-r--r-- | file_io/unix/pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/file_io/unix/pipe.c b/file_io/unix/pipe.c index 4d2bb9a18..d21aac78b 100644 --- a/file_io/unix/pipe.c +++ b/file_io/unix/pipe.c @@ -76,8 +76,7 @@ static ap_status_t pipenonblock(ap_file_t *thefile) return APR_SUCCESS; } - -ap_status_t ap_set_pipe_timeout(ap_file_t *thepipe, ap_int32_t timeout) +ap_status_t ap_set_pipe_timeout(ap_file_t *thepipe, ap_interval_time_t timeout) { if(thepipe == NULL) return APR_EBADARG; |