aboutsummaryrefslogtreecommitdiff
path: root/threadproc/os2/proc.c
Commit message (Collapse)AuthorAge
...
* The lots of little ones... APR_IS_STATUS_condition(rv) conditional macrosWilliam A. Rowe Jr2000-10-05
| | | | | | | | | replacing the majority of fallible rv == APR_condition tests. But there are lots more to fix, these are the obvious ones that already did proper canonical error conversion. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60547 13f79535-47bb-0310-9956-ffa450edef68
* Include apr_strings.h in a bunch more places that need it.Brian Havard2000-08-06
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60486 13f79535-47bb-0310-9956-ffa450edef68
* Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...William A. Rowe Jr2000-08-06
| | | | | | | | | | | | | see src/lib/apr/apr_compat.h for most details. Also a few minor nits to get Win32 to build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60481 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_Doug MacEachern2000-08-02
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Fix a canonical error mismatch, allowing .exe files to be spawnedBrian Havard2000-07-14
| | | | | | | without explicitly including the .exe extension. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60371 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Add implementation of ap_wait_all_procs().Brian Havard2000-07-14
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60370 13f79535-47bb-0310-9956-ffa450edef68
* ap_create_pipe was changed to return a pipe with both handlesJeff Trawick2000-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | blocking (previously, both handles were non-blocking). ap_set_pipe_timeout() is now the only way to manipulate the blocking state of the pipe. Pass -1 for timeout to make it blocking; pass 0 for timeout to make it non-blocking. ap_block_pipe() is gone. A few minor bugs were fixed along the way. OS-specific notes: non-Unix in general: Only Unix/BeOS currently has the optimization to keep track of the blocking state. This is used to avoid syscalls as well as to handle ap_put_os_file(), which is a case where we don't know the blocking state of the handle we are given. OS/2: ap_set_pipe_timeout() with timeout value > 0: The code didn't play with the blocking state before and it doesn't still. I did add logic for special timeout values 0 and -1 to play with the blocking state. ap_create_pipe(): old logic didn't do anything with the blocking state of the second handle; it still doesn't; hopefully it is blocking pre-BONE BEOS: old code to make a pipe non-blocking was a no-op; now it returns APR_ENOTIMPL BONE: old code to make a pipe non-blocking; it passed &zero as the parm to FIONBIO instead of &one; this bug was fixed Win32: The pipe was always created blocking before; no change previously, ap_setprocattr_io() ignored the blocking flag; now it respects it like other platforms and calls ap_set_pipe_timeout(p,0) on appropriate pipe handles (Bill Stoddard was just working in ap_set_pipe_timeout(), so I presume this is golden) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60235 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Adapt to new ap_proc_t type & add missing ap_setprocattr_child*Brian Havard2000-05-25
| | | | | | | functions. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60097 13f79535-47bb-0310-9956-ffa450edef68
* back out APR_ prefix for TRUE,FALSEDoug MacEachern2000-04-28
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59983 13f79535-47bb-0310-9956-ffa450edef68
* prefix TRUE,FALSE with APR_Doug MacEachern2000-04-28
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59975 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_config.h and apr_config.hw to apr_private.h and apr_private.hw.Ryan Bloom2000-04-22
| | | | | | | | This should make the fact that this is a private header file more obvious. This also updates all of the references to apr_config.h git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59924 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Now that we have non-blocking pipes, set them to blocking if requestedBrian Havard2000-04-20
| | | | | | | when creating pipes to a spawned process. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59901 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesRyan Bloom2000-04-14
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
* First stage of migrating OS/2 code to new error code mappings, define & useBrian Havard2000-04-08
| | | | | | | macro for returning OS/2 error codes. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59815 13f79535-47bb-0310-9956-ffa450edef68
* Finish the APR naming cleanup. This removes the struct's fromRyan Bloom2000-04-03
| | | | | | | | apr_variable declarations. This works on Unix, but a test compile on other platforms would be a good idea. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59773 13f79535-47bb-0310-9956-ffa450edef68
* fix the rest of the struct foo_t to struct ap_foo_t. Next is removing theRyan Bloom2000-04-03
| | | | | | | struct's where possible. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59769 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1Roy T. Fielding2000-03-31
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:Ryan Bloom2000-03-10
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59688 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Use native API for process waits.Brian Havard2000-01-10
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59581 13f79535-47bb-0310-9956-ffa450edef68
* Use always ap_signal() in APR to avoid redefining the system call signal()Sascha Schumann1999-12-31
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59564 13f79535-47bb-0310-9956-ffa450edef68
* Adapt to change where arg[0] to ap_create_process() now contains theBrian Havard1999-12-19
| | | | | | | program name. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59537 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes for OS/2 process creation:Brian Havard1999-11-03
| | | | | | | | - Allow NULL environment block - Allow .exe extension to be omitted git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59442 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Put support for detached processes back into ap_create_process(),Brian Havard1999-10-26
| | | | | | | removed by previous change. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59420 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Make ap_create_process() work with scripts, allowing mod_cgi to workBrian Havard1999-10-26
| | | | | | | with all the CGI types it used to (REXX, Perl etc). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59419 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Add ap_get_os_proc().Brian Havard1999-10-19
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59379 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Add some 'const's to match prototypes.Brian Havard1999-10-14
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59345 13f79535-47bb-0310-9956-ffa450edef68
* This finishes the argument swaps. The docs haven't been updated, andRyan Bloom1999-10-11
| | | | | | | | probably won't be for a while yet. These argument orders have been documented in the APR Design doc committed earlier today. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59316 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Implement detached processes & fix some parameter ordering.Brian Havard1999-10-11
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59310 13f79535-47bb-0310-9956-ffa450edef68
* First patch to re-order function parameters. This one gets the low hangingRyan Bloom1999-10-04
| | | | | | | | | | fruit, and moves most of the result parameters to the first argument. Future patches in this series will move the rest of the result parameters to the beginning of the list, and will move the context's to the end of the list git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59259 13f79535-47bb-0310-9956-ffa450edef68
* Fix build of APR on OS/2Brian Havard1999-08-28
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59172 13f79535-47bb-0310-9956-ffa450edef68
* Initial revisionRyan Bloom1999-08-17
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68