Request of API which are thread safe/unsafe



Dear All,

I want to know which all API are multithread safe. As we have in Glibc.

http://www.kernel.org/doc/man-pages/online/pages/man7/pthreads.7.html
Thread-safe functions
      A thread-safe function is one that can be safely (i.e., it will
deliver the
      same results regardless of whether it is) called from multiple
threads at the
      same time.

      POSIX.1-2001 and POSIX.1-2008 require that all functions specified in the
      standard shall be thread-safe, except for the following functions:

          asctime()
          basename()
          catgets()
          crypt()
          ctermid() if passed a non-NULL argument
          ctime()
          dbm_clearerr()
          dbm_close()
          dbm_delete()
          dbm_error()
          dbm_fetch()
          dbm_firstkey()

****

I want to know is there any similar info available for Glib ?
Thanks


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