diff options
Diffstat (limited to 'Linux_x86')
-rw-r--r-- | Linux_x86/phDal4Nfc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Linux_x86/phDal4Nfc.c b/Linux_x86/phDal4Nfc.c index d824d6e..88be4c8 100644 --- a/Linux_x86/phDal4Nfc.c +++ b/Linux_x86/phDal4Nfc.c @@ -705,6 +705,8 @@ int phDal4Nfc_ReaderThread(void * pArg) phOsalNfc_Message_t OsalMsg ; int i; + pthread_setname_np(pthread_self(), "reader"); + /* Create the overlapped event. Must be closed before exiting to avoid a handle leak. This event is used READ API and the Reader thread*/ pthread_mutex_unlock(&nThreadsEventMutex); /* To indicate thread is ready */ @@ -844,6 +846,8 @@ int phDal4Nfc_WriterThread(void * pArg) int * pmsgType=&MsgType; int i; + pthread_setname_np(pthread_self(), "writer"); + /* Create the overlapped event. Must be closed before exiting to avoid a handle leak. This event is used READ API and the Reader thread*/ pthread_mutex_unlock(&nThreadsEventMutex); /* To indicate thread is ready */ |