If you can run the makefile against a smaller subset of cc files (or create one that does) and you have more than one cpu on your box try "multiprocessing"
Even on a single processor box, the total time elapsed will be very slightly less.
what is the difference in awk stmt for awk in Aix & SOLARIS
files="$@"
for filename in $files
do
awk ' BEGIN {
if ( FILENAME ~ ".*bad.trans.dsm" )
code = "bad";
else if ( FILENAME ~ ".*here.*.dsm" )
code = "here";
else
... (2 Replies)
Hey there,
I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Hi All,
while building, i am receiving the following error......
Undefined first referenced
symbol in file
void os_directory::create(const std::string &) obj.release/BOConfig.o (symbol belongs to implicit dependency... (2 Replies)
I have two different UNIX scripts for updating Co-ordinate points which are working fine seperately in HP and SUN environments. But I am trying to write a common UNIX script which is to work in HP and SUN environment.
The following are the scripts i am using
SUN:
#!/bin/ksh
info () {... (6 Replies)
I am new to Sun.
I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor?
Thanks. (3 Replies)
Hi All,
I have a requirement to report us on changing a group of static files.
Those are the binary files that run in Production every day.
Due to the in sercure environment situations, I found many are indulging in there own changes to the binaries by doing some changes in the souce code.
... (1 Reply)
I am facing problem while migrating the c++ code from Linux to Solaris. In linux the code is absolutly compiled fine with GCC compiler but when i am using the same in Solaris it coomplains
bash-3.1$ gcc LibSip.h
gcc: Compilation of header file requested
The same command is working fine in... (2 Replies)
Hi All
when I am compiling the cxx file on the system with compiler version (CC: Sun C++ 5.9 SunOS_sparc 2007/05/03) , I am facing the following error:-
/opt/SUNWspro/bin/CC -dy -misalign -xcode=abs64 -xarch=v9 -D__EXTENSIONS__ -Dsun4_R5=1 -I. -Isun4_R5_v... (0 Replies)
Hi guys,
I am stuck with an issue and i need help to solve.
I have to compile an extension for PHP which would help the server to connect to SAP server through PHP.
Binary is "SAP SDK RFC"
I have the binary downloaded from the SAP official website.
Server on which i have to install... (0 Replies)
Discussion started by: bvipin2002
0 Replies
LEARN ABOUT NETBSD
cpu_need_resched
CPU_NEED_RESCHED(9) BSD Kernel Developer's Manual CPU_NEED_RESCHED(9)NAME
cpu_need_resched -- context switch notification
SYNOPSIS
#include <sys/cpu.h>
void
cpu_need_resched(struct cpu_info *ci, int flags);
DESCRIPTION
The cpu_need_resched() function is the machine-independent interface for the scheduler to notify machine-dependent code that a context switch
from the current LWP, on the cpu ci, is required. This event may occur if a higher priority LWP appears on the run queue or if the current
LWP has exceeded its time slice.
If RESCHED_KPREEMPT flag is specified in flags and __HAVE_PREEMPTION C pre-processor macro is defined in <machine/intr.h>, machine-dependent
code should make a context switch happen as soon as possible even if the cpu is running the kernel code.
If RESCHED_IMMED flag is specified in flags, machine-dependent code should make a context switch happen as soon as possible. In that case,
for example, if ci is not the current processor, cpu_need_resched() typically issues an inter processor call to the processor to make it
notice the need of a context switch as soon as possible.
Typically, the cpu_need_resched() function will perform the following operations:
o Set a per-processor flag which is checked by userret(9) when returning to user-mode execution.
o Post an asynchronous software trap (AST).
o Send an inter processor interrupt to wake up cpu_idle(9).
SEE ALSO sched_4bsd(9), userret(9)BSD July 31, 2010 BSD