current_task man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

current_task(9r)					      current_task(9r)

NAME
       current_task - General: Returns a pointer to the task structure associ‐
       ated with the currently running kernel thread

SYNOPSIS
       struct task * current_task(
	       void );

ARGUMENTS
       None

DESCRIPTION
       The current_task routine returns a pointer to the task structure	 asso‐
       ciated with the currently running kernel thread.	 A device driver typi‐
       cally 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.

CAUTIONS
       You must not call the current_task routine from	a  driver's  interrupt
       handler.

RETURN VALUES
       The  current_task  routine  returns a pointer to the task structure for
       the currently running kernel thread.

SEE ALSO
       Routines: round_page(9r), trunc_page(9r), vm_map_pageable(9r)

       Data Structures: thread(9s)

							      current_task(9r)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net