Re: Why __gthread_active_p() is checked only in few functions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Wakely 2014-09-29 20:38:
On 29 September 2014 16:41, niXman wrote:

Some of the functions are short and calling them without active
threads does nothing, so there's no need to check.
__ghtread_mutex_init_function makes several calls, so if they are all
going to do nothing then there's no point calling any of them.

What do you mean by "functions are short and calling them without active threads does nothing"?


--
Regards, niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingw-w64/
___________________________________________________
Another online IDE: http://liveworkspace.org/




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux