no free functions?!

This is a discussion on no free functions?! within the Eiffel forums in Programming Languages category; Georg Bauhaus <see.reply.to @ maps.futureapps.de> writes: [...] >[*] errno is just a good example for the more general shared > variable that needs protection from concurrent access. It hadn't > always been a matter of course for a C library to be thread > safe! Actually "errno" must be a thread-local variable to make any sense. Any OS-call has to be serialized, and only after errno is "safed", thread execution can continue. Thus it's still an argument against "static" routines... Ulrich...

Go Back   Application Development Forum > Programming Languages > Eiffel

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #11  
Old 05-29-2008, 04:16 AM
Ulrich Windl
Guest
 
Default Re: no free functions?!

Georg Bauhaus <see.reply.to@maps.futureapps.de> writes:

[...]
>[*] errno is just a good example for the more general shared
> variable that needs protection from concurrent access. It hadn't
> always been a matter of course for a C library to be thread
> safe!


Actually "errno" must be a thread-local variable to make any sense.
Any OS-call has to be serialized, and only after errno is "safed", thread
execution can continue. Thus it's still an argument against "static"
routines...

Ulrich
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:14 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.