attributes.C
Upload User: shtangtang
Upload Date: 2007-01-04
Package Size: 167k
Code Size: 0k
Development Platform:

Unix_Linux

  1. #include "thread_attributes.h"
  2. //
  3. // attributes - constructor
  4. //
  5. // initialize the attribute structure with default values.
  6. attributes::attributes()
  7. {
  8.   a_scope       = process_private;
  9.   a_inherit     = attr_explicit;
  10.   a_policy      = other;
  11.   a_state       = attr_joinable;
  12.   a_param.sched_priority = 0;
  13. }