On Sunday 23 December 2001 09:47 am, Jeff Trawick wrote: > Ryan Bloom <[EMAIL PROTECTED]> writes: > > > On Sunday 23 December 2001 06:05 am, David Reid wrote: > > > While trying to build the worker MPM on beos, I found that as we didn't > > > need/want the _np clutter these small patches were neccesary. I can't > > > see anything wrong with simply committing them, but I thought I'd throw > > > them up here for discussion. > > > > I personally hate the np functions, because they are completely non-portable, > > as their name implies. We should either find some way to make them portable, > > or remove them IMNSHO. > > Give the function a different name (not ending in _np). > Make all os-specific lock types (everything but DEFAULT) end in _NP.
Renaming the functions doesn't make it a portable set of functions. The fact remains that anybody who uses those functions directly is writing incredibly non-portable code. Ryan ______________________________________________________________ Ryan Bloom [EMAIL PROTECTED] Covalent Technologies [EMAIL PROTECTED] --------------------------------------------------------------
