 public:
 	volatile MESSAGE_TYPE command;
 	volatile bool has_task;
-	volatile bool task_accepted;
 	volatile int lock_thread_id;
 	volatile bool done;
 	volatile bool is_monitoring;


		is_monitoring = false;
		done = false;
		//pthread_mutex_init(&mutex_has_task, NULL);

		reset();

			(h_kernelWrapper->is_monitoring) ? "true" : "false");

	// test call host_kernelWrapper
	for (int i = 0; i < 5; i++) {
		h_kernelWrapper->lock_thread_id = i;
		int value = h_kernelWrapper->getValue(i);
		printf("Host h_kernelWrapper getValue: %d\n", value);
	}

	KernelWrapper *d_kernelWrapper;
	checkCuda(cudaHostGetDevicePointer(&d_kernelWrapper, h_kernelWrapper, 0));
