Freeze a thread in the process that's associated with the file descriptor. You must have opened the file descriptor for writing.

The argument is a pointer to a pthread_t value that specifies the thread to be frozen. For example:

devctl( fd, DCMD_PROC_FREEZETHREAD, &tid, sizeof tid, 0);

To unfreeze the thread, use DCMD_PROC_THAWTHREAD .