Format: void run(void)
This function is used as the input to pthread_create(). It should enter a loop which performs the operations of the device being emulated. There is currently no provision in place to trigger loop termination.
Wiki: hooks