ddi_get_kt_did man page on SmartOS

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

DDI_GET_KT_DID(9F)					    DDI_GET_KT_DID(9F)

NAME
       ddi_get_kt_did - get identifier of current thread

SYNOPSIS
       #include <sys/types.h>
       #include <sys/ddi.h>
       #include <sys/sunddi.h>

       kt_did_t ddi_get_kt_did(void);

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI)

DESCRIPTION
       The  ddi_get_kt_did()  function	returns a unique 64-bit identifier for
       the currently running thread.

CONTEXT
       This routine can be called from user,  kernel,  or  interrupt  context.
       This routine cannot be called from a high-level interrupt context.

RETURN VALUES
       ddi_get_kt_did()	 always returns the identifier for the current thread.
       There are no error conditions.

SEE ALSO
       Writing Device Drivers

NOTES
       The value returned by this function can also be seen in adb or  mdb  as
       the did field displayed when using the thread macro.

       This interface is intended for tracing and debugging purposes.

				 May 15, 2001		    DDI_GET_KT_DID(9F)
[top]

List of man pages available for SmartOS

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