summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2010-07-26 20:31:30 +0000
committerSteve Huston <shuston@riverace.com>2010-07-26 20:31:30 +0000
commite3122c84bd3e4d36d828ce0f77fcf382fe08f1b4 (patch)
tree461904040648b24cf24b09fdb0aab53820ccd3ca
parent1c8a91f02cba61e6057c737796aacfa8ac147cc0 (diff)
downloadATCD-e3122c84bd3e4d36d828ce0f77fcf382fe08f1b4.tar.gz
ChangeLogTag:Mon Jul 26 20:26:53 UTC 2010 Steve Huston <shuston@riverace.com>
-rw-r--r--ACE/ChangeLog5
-rw-r--r--ACE/ace/OS_NS_Thread.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index ce0b12a9824..6b571d0ff59 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jul 26 20:26:53 UTC 2010 Steve Huston <shuston@riverace.com>
+
+ * ace/OS_NS_Thread.h: Note that the cpu_set_size to the get/set
+ affinity methods is a byte count.
+
Mon Jul 26 07:02:30 UTC 2010 Martin Corino <mcorino@remedy.nl>
* bin/MakeProjectCreator/config/inet.mpb:
diff --git a/ACE/ace/OS_NS_Thread.h b/ACE/ace/OS_NS_Thread.h
index 70d8d730b34..63bfc478d5b 100644
--- a/ACE/ace/OS_NS_Thread.h
+++ b/ACE/ace/OS_NS_Thread.h
@@ -1604,7 +1604,7 @@ namespace ACE_OS {
* defined, this is the thread-id. For linux-threads, when
* ACE_HAS_SCHED_SETAFFINITY defined, it expects a process-id. Since for
* linux-threads a thread is seen as a process, it does the job.
- * @param cpu_set_size The size of the cpu_mask
+ * @param cpu_set_size The size of the cpu_mask, in bytes.
* @param cpu_mask Is a bitmask of CPUs to bind to, e.g value 1 binds the
* thread to the "CPU 0", etc
*/
@@ -1621,7 +1621,7 @@ namespace ACE_OS {
* defined, this is the thread-id. For linux-threads, when
* ACE_HAS_SCHED_SETAFFINITY defined, it expects a process-id. Since for
* linux-threads a thread is seen as a process, it does the job.
- * @param cpu_set_size The size of the cpu_mask
+ * @param cpu_set_size The size of the cpu_mask, in bytes.
* @param cpu_mask Is a bitmask of CPUs to bind to, e.g value 1 binds the
* thread to the "CPU 0", etc
*/