Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Types | Public Member Functions | Public Attributes
Arc::ThreadArgument Class Reference
Collaboration diagram for Arc::ThreadArgument:
Collaboration graph

List of all members.

Public Types

typedef void(* func_t )(void *)

Public Member Functions

ThreadArgumentacquire (void)
void release (void)
 ThreadArgument (func_t f, void *a)
 ~ThreadArgument (void)
void thread (void)

Public Attributes

void * arg
func_t func

Detailed Description

Definition at line 37 of file Thread.cpp.

Member Typedef Documentation

typedef void(* Arc::ThreadArgument::func_t)(void *)

Definition at line 39 of file Thread.cpp.

Constructor & Destructor Documentation

Arc::ThreadArgument::ThreadArgument ( func_t  f,
void *  a 
) [inline]

Definition at line 53 of file Thread.cpp.

      : arg(a),

Definition at line 60 of file Thread.cpp.


Member Function Documentation

Definition at line 44 of file Thread.cpp.

      resource = new ThreadInc;
      return *this;

Here is the caller graph for this function:

void Arc::ThreadArgument::release ( void  ) [inline]

Definition at line 48 of file Thread.cpp.

      if(resource) delete resource;
      resource = NULL;

Here is the caller graph for this function:

void Arc::ThreadArgument::thread ( void  )

Definition at line 168 of file Thread.cpp.

    ThreadInc resource_;
    func_t f_temp = func;
    void *a_temp = arg;
    delete this;

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Definition at line 40 of file Thread.cpp.

Definition at line 41 of file Thread.cpp.

Definition at line 43 of file Thread.cpp.

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