|
From: Leif M. <le...@ta...> - 2006-05-11 02:45:15
|
Bill,
I was hoping someone else might have some information on this. I
unfortunately
do not have any HPUX systems to test with personally. I reviewed the
man page
for the pthread_create command on HP-UX and everything appears to be fine.
http://www.calpoly.edu/cgi-bin/man-cgi?pthread_create+3
What does the man page on your actual system say?
The relevant code follows:
---
void *timerRunner(void *arg) {
/* snip */
return NULL;
}
int initializeTimer() {
int res;
res = pthread_create(
&timerThreadId,
NULL, /* No attributes. */
timerRunner,
NULL); /* No parameters need to be passed to the thread. */
if (res) {
log_printf(WRAPPER_SOURCE_WRAPPER, LEVEL_FATAL,
"Unable to create a timer thread: %d, %s", res,
getLastErrorText());
return 1;
} else {
return 0;
}
}
---
Cheers,
Leif
Cote, William wrote:
> I just downloaded and compiled wrapper version 3.2 and I am trying to
> get it to run on HPUX IA64. I am getting the following error.
>
> wrapper | Unable to create a timer thread: 251, Invalid argument.
>
> If I set the wrapper.use_system_time=TRUE in the .conf file I am able to
> get the wrapper running.
>
> Does the new behavior of setting the use_system_time=FALSE not work on
> HPUX IA64?
>
> Bill
>
|