[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

[C++]



Hej Alle

Jeg sidder med et thread/trådet server projekt som skal understøtte
plugins/dynamiske moduler.

Lige pt. ligger en af valgende mellem:

1) Bruge lock på en mutex inden man kalder en modul funktion... for derved
   at "spare" modul programmøren for at tænke thread-safe. Dette vil låse
   modulet for andre tråde... lidt skidt hvis modulet bliver brugt meget.

2) Overlade det til programmøren af modulet at være thread-safe...
   og derved at være lidt i det uvisse om modulet ligger serveren ned
   på den bekostning. Det bliver også meget svære at skrive moduler
   til serveren.

3) Eller er det bare mig som ikke pt. har set lyset og der er en meget
   bedre måde at gøre det på...


Er der nogen af jeg som har erfarring med denne type software ?

(John =;-)


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2008-01-01, 17:38 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *