12-11-2013
Quote:
Originally Posted by
Corona688
Come again? I don't think that quite crossed the language barrier.
Why exactly does your compile job need to be run at exactly the correct millisecond?
Dear Corona, I need to parse some text files and send the results in more precise or approximate time, 1 second after the data no longer serve because they change constantly.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Where can someone find info on Cron Jobs? Very new to UNIX and the PC I inherited looks to have several of them. Looks like they are some kind of background program that runs automatically at specified times. Would like to delete some of them and know more about them. (6 Replies)
Discussion started by: dereckbc
6 Replies
2. Shell Programming and Scripting
Hi All,
i am trying to automate a process and have to create a unix script like wise. I have a scenario in which i need to automate a file movement. Below are the steps i need to automate.
1. Check whether a file (Not Fixed name-Pattern search of file say 'E*.dat') is present in a... (2 Replies)
Discussion started by: imu
2 Replies
3. UNIX for Advanced & Expert Users
Good Morning.
The problem started after tha migration to a newer version of oracle - migration to oracle 9i. Before the migration jobs that were scheduled in crontabs were running ok. but after the migration they are not running.
I understand that is not easy to find out what the problem is.... (4 Replies)
Discussion started by: alexcol
4 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I have problem in executing a shell script. When the shell script is executed at the shell prompt the script works successfully but when the same script is run as a cron job it fails to execute the files called within the shell script.
I have scheduled the job in my crontab file as
... (6 Replies)
Discussion started by: forumthreads
6 Replies
5. Solaris
Hi SunOS Experts
where will look up to correct the problem with my sunos, it normally shutdown on its own and reboot itself.
i am suspecting that somebody has scheduled it to be doing like that . which file can i look up to correct this problem.this is a server that is suppose to be up 24/7.... (2 Replies)
Discussion started by: dba
2 Replies
6. Red Hat
How to find out jobs scheduled by "at" command? (1 Reply)
Discussion started by: johnveslin
1 Replies
7. Shell Programming and Scripting
I had a cron file named mycron.cron and this file has cron jobs runs through out 365 days (jobs in the file mycron.cron run hourly, daily, weekly, monthly, quarterly and yearly). Is there an easy way to find what are the jobs scheduled today and what time they are scheduled to run?
Thanks in... (1 Reply)
Discussion started by: sureng
1 Replies
8. Solaris
There are two jobs in Solaris , Cron and at jobs..
I know how to disable or enable cron jobs.
How can I enable at jobs and disable it.
Kindly help.
Rj (2 Replies)
Discussion started by: jegaraman
2 Replies
9. Red Hat
I've scheduled few jobs using cron. But they are not running .....
What might be the possible reasons ?? Also tell me how to troubleshoot.............
Please help me .......
Thanks in Advance. (2 Replies)
Discussion started by: vamshigvk475
2 Replies
10. UNIX for Beginners Questions & Answers
Team,
Hope you all are doing fine
I have one admin server which is being used dedicately to run cron jobs on hourly basis, fetching the details from Database which is in a different server.These cronjob are run on every hourly/5 minutes basis depending as per end user requirement.The script... (12 Replies)
Discussion started by: whizkidash
12 Replies
LEARN ABOUT OPENSOLARIS
pthread_barrier_init
pthread_barrier_destroy(3C) Standard C Library Functions pthread_barrier_destroy(3C)
NAME
pthread_barrier_destroy, pthread_barrier_init - destroy and initialize a barrier object
SYNOPSIS
cc -mt [ flag... ] file... [ library... ]
#include <pthread.h>
int pthread_barrier_destroy(pthread_barrier_t *barrier);
int pthread_barrier_init(pthread_barrier_t *barrier,
const pthread_barrierattr_t *restrict attr, unsigned count);
DESCRIPTION
The pthread_barrier_destroy() function destroys the barrier referenced by barrier and releases any resources used by the barrier. The
effect of subsequent use of the barrier is undefined until the barrier is reinitialized by another call to pthread_barrier_init(). An
implementation can use this function to set barrier to an invalid value. The results are undefined if pthread_barrier_destroy() is called
when any thread is blocked on the barrier, or if this function is called with an uninitialized barrier.
The pthread_barrier_init() function allocates any resources required to use the barrier referenced by barrier and initializes the barrier
with attributes referenced by attr. If attr is NULL, the default barrier attributes are used; the effect is the same as passing the address
of a default barrier attributes object. The results are undefined if pthread_barrier_init() is called when any thread is blocked on the
barrier (that is, has not returned from the pthread_barrier_wait(3C) call). The results are undefined if a barrier is used without first
being initialized. The results are undefined if pthread_barrier_init() is called specifying an already initialized barrier.
The count argument specifies the number of threads that must call pthread_barrier_wait() before any of them successfully return from the
call. The value specified by count must be greater than 0.
If the pthread_barrier_init() function fails, the barrier is not initialized and the contents of barrier are undefined.
Only the object referenced by barrier can be used for performing synchronization. The result of referring to copies of that object in calls
to pthread_barrier_destroy() or pthread_barrier_wait() is undefined.
RETURN VALUES
Upon successful completion, these functions returns 0. Otherwise, an error number is returned to indicate the error.
ERRORS
The pthread_barrier_init() function will fail if:
EAGAIN The system lacks the necessary resources to initialize another barrier.
EINVAL The value specified by count is equal to 0.
ENOMEM Insufficient memory exists to initialize the barrier.
The pthread_barrier_init() function may fail if:
EBUSY The implementation has detected an attempt to destroy a barrier while it is in use (for example, while being used in a
pthread_barrier_wait() call) by another thread.
EINVAL The value specified by attr is invalid.
The pthread_barrier_destroy() function may fail if:
EBUSY The implementation has detected an attempt to destroy a barrier while it is in use (for example, while being used in a
pthread_barrier_wait() call) by another thread.
EINVAL The value specified by barrier is invalid.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
pthread_barrier_wait(3C), attributes(5), standards(5)
SunOS 5.11 30 Jan 2004 pthread_barrier_destroy(3C)