Query: current_task
OS: osf1
Section: 9r
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
current_task(9r) current_task(9r)NAMEcurrent_task - General: Returns a pointer to the task structure associated with the currently running kernel threadSYNOPSISstruct task * current_task( void );ARGUMENTSNoneDESCRIPTIONThe current_task routine returns a pointer to the task structure associated with the currently running kernel thread. A device driver typ- ically calls this routine in preparation for doing a DMA operation to a user's buffer. The device driver uses the pointer returned by cur- rent_task in the call to the vm_map_pageable routine.CAUTIONSYou must not call the current_task routine from a driver's interrupt handler.RETURN VALUESThe current_task routine returns a pointer to the task structure for the currently running kernel thread.SEE ALSORoutines: round_page(9r), trunc_page(9r), vm_map_pageable(9r) Data Structures: thread(9s) current_task(9r)
Related Man Pages |
---|
kernel_isrthread(9r) - osf1 |
lock_write(9r) - osf1 |
simple_lock(9r) - osf1 |
thread_halt_self(9r) - osf1 |
thread_terminate(9r) - osf1 |
Similar Topics in the Unix Linux Community |
---|
TRACKER for current tasks, backlogs and new thoughts for forum's development work. |