dxd - dynax driver framework 2.1.0d49
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::process Class Reference

#include <dx_sync.h>

+ Inheritance diagram for dx::process:
+ Collaboration diagram for dx::process:

Classes

class  mmcss
 mmcss | thread priority/process priority class More...
 

Public Member Functions

void free () noexcept
 
 operator const os_event () const noexcept
 
 operator os_event () noexcept
 
 operator::HANDLE () const noexcept
 
 process ()
 
 process (const char *path, char *cmd=nullptr)
 
 process (const char *path, const char *cmd=nullptr)
 
os_result wait (int64_t timeout=0)
 
 ~process () noexcept
 

Static Public Member Functions

::HANDLE current ()
 Windows current process bill thinks its a good idea to return pseudo handle -1 @ GetCurrentProcessHandle(). This converts the pseudo process handle into a real process handle that is valid in the context of other processes, or that can be inherited by other processes.
 

Protected Attributes

::HANDLE handle = invalid_t
 

Constructor & Destructor Documentation

◆ process() [1/3]

dx::process::process ( )
inline

◆ process() [2/3]

dx::process::process ( const char * path,
const char * cmd = nullptr )
inline

◆ process() [3/3]

dx::process::process ( const char * path,
char * cmd = nullptr )
inline

◆ ~process()

dx::process::~process ( )
inlinenoexcept
+ Here is the call graph for this function:

Member Function Documentation

◆ current()

::HANDLE dx::process::current ( )
inlinestatic

Windows current process bill thinks its a good idea to return pseudo handle -1 @ GetCurrentProcessHandle(). This converts the pseudo process handle into a real process handle that is valid in the context of other processes, or that can be inherited by other processes.

◆ free()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
void dx::object< invalid_t >::free ( )
inlinenoexceptinherited
+ Here is the caller graph for this function:

◆ operator const os_event()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
dx::object< invalid_t >::operator const os_event ( ) const
inlinenoexceptinherited

◆ operator os_event()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
dx::object< invalid_t >::operator os_event ( )
inlinenoexceptinherited

◆ operator::HANDLE()

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
dx::object< invalid_t >::operator::HANDLE ( ) const
inlinenoexceptinherited

◆ wait()

os_result dx::process::wait ( int64_t timeout = 0)
inline
+ Here is the caller graph for this function:

Member Data Documentation

◆ handle

template<::HANDLE invalid_t = INVALID_HANDLE_VALUE>
::HANDLE dx::object< invalid_t >::handle = invalid_t
protectedinherited

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on Sat Mar 2 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.