|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <rw_thread.h>#include <rw_alarm.h>#include <stddef.h>#include <string.h>#include <stdio.h>#include <unistd.h>#include <errno.h>
Go to the source code of this file.
Macros | |
| #define | _RWSTD_TEST_SRC |
| #define | ENOTSUP 9999 |
Functions | |
| FILE * | popen (const char *, const char *) |
| _TEST_EXPORT int | rw_thread_pool_timeout_expired () |
| _TEST_EXPORT int | rw_thread_create (rw_thread_t *, rw_thread_attr_t *, rw_thread_proc *, void *) |
| _TEST_EXPORT int | rw_thread_join (rw_thread_t, void **) |
| _TEST_EXPORT int | rw_get_cpus () |
| _TEST_EXPORT int | rw_thread_pool (rw_thread_t *thr_id, size_t nthrs, rw_thread_attr_t *, rw_thread_proc *thr_proc, void **thr_arg, size_t timeout) |
| #define _RWSTD_TEST_SRC |
thread.cpp - definitions of testsuite thread helpers
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2005-2007 Rogue Wave Software, Inc.
Definition at line 30 of file thread.cpp.
| #define ENOTSUP 9999 |
Definition at line 374 of file thread.cpp.
| FILE * popen | ( | const char * | , |
| const char * | |||
| ) |
| _TEST_EXPORT int rw_get_cpus | ( | ) |
Definition at line 402 of file thread.cpp.
| _TEST_EXPORT int rw_thread_create | ( | rw_thread_t * | , |
| rw_thread_attr_t * | , | ||
| rw_thread_proc * | , | ||
| void * | |||
| ) |
Definition at line 379 of file thread.cpp.
| _TEST_EXPORT int rw_thread_join | ( | rw_thread_t | , |
| void ** | |||
| ) |
Definition at line 391 of file thread.cpp.
| _TEST_EXPORT int rw_thread_pool | ( | rw_thread_t * | thr_id, |
| size_t | nthrs, | ||
| rw_thread_attr_t * | , | ||
| rw_thread_proc * | thr_proc, | ||
| void ** | thr_arg, | ||
| size_t | timeout | ||
| ) |
Definition at line 494 of file thread.cpp.
| _TEST_EXPORT int rw_thread_pool_timeout_expired | ( | ) |
Definition at line 65 of file thread.cpp.