Lines Matching refs:pthread

347 The subsystem provides a pthread like API that is intended to assist in
359 The fundamental difference between the L-thread and pthread models is the
366 This section explores the differences between the pthread model and the
375 The POSIX pthread library provides an application programming interface to
386 within a single pthread as the OS scheduler does for pthreads within an
388 pthread, and in so far as the host OS is concerned it is a regular pthread
472 pthread model where threads can be affinitized to run on any CPU. With isolated
490 lower than the equivalent pthread operations, and so applications using these
503 offered, the first is modeled directly on the pthread get/set specific APIs,
521 to the corresponding functions offered by the POSIX pthread library, however not
522 all pthread functions have a corresponding L-thread equivalent, and not all
525 The pthread library offers considerable flexibility via programmable attributes
534 The table below lists the pthread and equivalent L-thread APIs with notes on
660 Pthread attributes may be used to affinitize a pthread with a cpu-set. The
680 A wait operation on a pthread condition variable is always associated with and
686 is typically an order of magnitude faster than its pthread counterpart.
761 The get/set specific APIs are consistent with their pthread counterparts both
906 Legacy code originally written for a pthread environment may be ported to
916 pthread API compatibility
919 The first step is to establish exactly which pthread APIs the legacy
921 are corresponding L-lthread APIs, and where the default pthread functionality
976 pthread mutex lock.
1042 In a legacy pthread application either or both the ``__thread`` prefix, or the
1043 pthread set/get specific APIs may have been used to define storage local to a
1044 pthread.
1050 relationship between a pthread and the CPU to which it is affinitized, there
1060 from pthread local storage at its new home.
1069 shim that adapts pthread API calls to the corresponding L-thread ones.
1078 The L-thread subsystem includes an example pthread shim. This is a partial
1081 use of the pthread shim.
1084 to make use of the genuine pthread library functions, at the very least in
1093 The pthread shim uses the dynamic linker loader and saves the loaded addresses
1094 of the genuine pthread API functions in an internal table, when the shim
1096 invokes the genuine pthread function.
1099 system header file pthread.h declares ``pthread_exit()`` with
1101 the pthread is terminating and this enables the compiler to omit the normal
1108 pthread is the L-thread scheduler thread, and, although an L-thread is
1138 pthread API this might block is something that should typically be avoided.
1141 Building and running the pthread shim
1147 To build and run the pthread shim example
1157 dpdk-pthread-shim -c core_mask -n number_of_channels
1165 a single pthread. The current scheduler is defined by
1168 session the current lthread can be obtained by displaying the pthread local