• D
    Introduce portability APIs for creating threads · 64d67507
    Daniel P. Berrange 提交于
    The util/threads.c/h code already has APIs for mutexes,
    condition variables and thread locals. This commit adds
    in code for actually creating threads.
    
    * src/libvirt_private.syms: Export new symbols
    * src/util/threads.h: Define APIs virThreadCreate, virThreadSelf,
      virThreadIsSelf and virThreadJoin
    * src/util/threads-win32.c, src/util/threads-win32.h: Win32
      impl of threads
    * src/util/threads-pthread.c, src/util/threads-pthread.h: POSIX
      impl of threads
    64d67507
libvirt_private.syms 17.3 KB