Lines Matching refs:status

1275   int      status;
1334 status = thr_create(NULL, stack_size, java_start, thread, flags, &tid);
1335 if (status != 0) {
1601 int status = thr_continue(thread->osthread()->thread_id());
1602 assert_status(status == 0, status, "thr_continue failed");
1780 int fd = ::open("/proc/self/status", O_RDONLY);
1784 pstatus_t status;
1785 int res = os::read(fd, (void*) &status, sizeof(pstatus_t));
1790 return status.pr_flags & PR_MSACCT;
2282 jboolean status = false;
2295 status = true;
2300 return status;
4269 int status = 0;
4273 status = thr_setprio(thread->osthread()->thread_id(), newpri);
4291 status |= lwp_status;
4293 return (status == 0) ? OS_OK : OS_ERR;
4303 int status = thr_getprio(thread->osthread()->thread_id(), &p);
4304 if (status != 0) {
4396 // For JSR166: unpark after setting status but before thr_kill -dl
4409 int status = thr_kill(osthread->thread_id(), os::Solaris::SIGinterrupt());
4410 assert_status(status == 0, status, "thr_kill");
4464 int status = thr_kill(osthread->thread_id(), os::Solaris::SIGasync());
4465 assert_status(status == 0, status, "thr_kill");
4466 return status;
5062 // looking for a thread with the ASLWP bit set. If we find this status
5478 int status = getrlimit(RLIMIT_NOFILE, &nbr_files);
5479 if (status != 0) {
5484 status = setrlimit(RLIMIT_NOFILE, &nbr_files);
5485 if (status != 0) {
6247 int status = gettimeofday(&now, NULL);
6248 assert(status == 0, "gettimeofday");
6312 int status = os::Solaris::mutex_lock(_mutex);
6313 assert_status(status == 0, status, "mutex_lock");
6320 status = os::Solaris::cond_wait(_cond, _mutex);
6321 if (status == ETIME) status = EINTR ;
6322 assert_status(status == 0 || status == EINTR, status, "cond_wait");
6326 status = os::Solaris::mutex_unlock(_mutex);
6327 assert_status(status == 0, status, "mutex_unlock");
6354 int status = os::Solaris::mutex_lock(_mutex);
6355 assert_status(status == 0, status, "mutex_lock");
6359 int status = os::Solaris::cond_timedwait(_cond, _mutex, &abst);
6360 assert_status(status == 0 || status == EINTR ||
6361 status == ETIME || status == ETIMEDOUT,
6362 status, "cond_timedwait");
6364 if (status == ETIME || status == ETIMEDOUT) break ;
6370 status = os::Solaris::mutex_unlock(_mutex);
6371 assert_status(status == 0, status, "mutex_unlock");
6398 int status = os::Solaris::mutex_lock(_mutex);
6399 assert_status(status == 0, status, "mutex_lock");
6401 status = os::Solaris::mutex_unlock(_mutex);
6402 assert_status(status == 0, status, "mutex_unlock");
6407 status = os::Solaris::cond_signal(_cond);
6408 assert_status(status == 0, status, "cond_signal");
6449 int status = gettimeofday(&now, NULL);
6450 assert(status == 0, "gettimeofday");
6529 int status ;
6533 status = os::Solaris::mutex_unlock(_mutex);
6534 assert (status == 0, "invariant") ;
6562 status = os::Solaris::cond_wait (_cond, _mutex) ;
6564 status = os::Solaris::cond_timedwait (_cond, _mutex, &absTime);
6568 assert_status(status == 0 || status == EINTR ||
6569 status == ETIME || status == ETIMEDOUT,
6570 status, "cond_timedwait");
6576 status = os::Solaris::mutex_unlock(_mutex);
6577 assert_status(status == 0, status, "mutex_unlock") ;
6589 int s, status ;
6590 status = os::Solaris::mutex_lock (_mutex) ;
6591 assert (status == 0, "invariant") ;
6594 status = os::Solaris::mutex_unlock (_mutex) ;
6595 assert (status == 0, "invariant") ;
6598 status = os::Solaris::cond_signal (_cond) ;
6599 assert (status == 0, "invariant") ;
6643 int status;
6647 while (waitpid(pid, &status, 0) < 0) {
6655 if (WIFEXITED(status)) {
6657 return WEXITSTATUS(status);
6658 } else if (WIFSIGNALED(status)) {
6664 return 0x80 + WTERMSIG(status);
6667 return status;