[EMAIL PROTECTED] schrieb:
> 
> 
> On Oct 23, 11:48 pm, Diez Roggisch <[EMAIL PROTECTED]> wrote:
>> No, they don't block. If they did, the performance would be lousy.
> 
> So does CherryPy create a lot of threads or processes under the hood?

CherryPy does threads. mod_wsgi can (and should) do processes and threads.

>> There are several options you have:
>>
>>  - create temp files that you then move to the destination - this will work 
>> because file moving is an atomic operation
>>
>>  - use a cooperative file-lock. There are recipes on activestate on how to 
>> do this in a cross-platform manner.
> 
> Hmm.  This sounds interesting.  Sounds like making your own custom
> semaphores.

Not really custom - it's an OS-feature.

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to