Posix Threads?
This evidently won’t compile, but it will give you an idea of where to go hunting. I’m not even sure its the right PR_
command, but i think it is. It’s been a while…
#include <sys/prctl.h>
prctl(PR_SET_NAME,"<null> terminated string",0,0,0)
More Related Contents:
- How to increase thread priority in pthreads?
- Is it safe to fork from within a thread?
- How are user-level threads scheduled/created, and how are kernel level threads created?
- C++ Socket Server – Unable to saturate CPU
- some problems about c++ try catch [closed]
- Undefined reference to pthread_create in Linux
- Example for boost shared_mutex (multiple reads/one write)?
- C++ Dynamic Shared Library on Linux
- How to get memory usage at runtime using C++?
- Why is the destructor of a future returned from `std::async` blocking?
- Difference between pointer and reference as thread parameter
- Seeking and reading large files in a Linux C++ application
- How to disassemble a binary executable in Linux to get the assembly code?
- Cancelling a thread using pthread_cancel : good practice or bad
- std::vector, thread-safety, multi-threading
- How to set up googleTest as a shared library on Linux
- How to use SQLite in a multi-threaded application?
- Cross Platform Floating Point Consistency
- C++ error: undefined reference to ‘clock_gettime’ and ‘clock_settime’
- Reusing thread in loop c++
- CPU cache inhibition
- c++, std::atomic, what is std::memory_order and how to use them?
- OpenMP: What is the benefit of nesting parallelizations?
- Is MAXIMUM_WAIT_OBJECTS really 64?
- How to implement a unmanaged thread-safe collection when I get this error: is not supported when compiling with /clr
- Portable Compare And Swap (atomic operations) C/C++ library?
- Is it possible to use threads to speed up file reading?
- signal handler function in multithreaded environment
- Why does the free() function not return memory to the operating system?
- Loading a dll from a dll?