Search Results

Search: Posts Made By: robin.zhu
Forum: Programming 05-25-2009
3,301
Posted By robin.zhu
Thanks for your specific explanation!
Thanks for your specific explanation!
Forum: Programming 05-25-2009
3,301
Posted By robin.zhu
Thanks! I know the answer: the above...
Thanks!
I know the answer: the above description means under the condition that a read lock has already been held by a thread, if one thread tries to acquire a read lock, another one tries to...
Forum: Programming 05-25-2009
3,301
Posted By robin.zhu
Question about read writer lock
From <<Advanced Programming in the Unix>> section 11.6, it says: Although implementations vary, readerwriter locks usually block additional readers if a lock is already held in read mode and a...
Forum: Programming 05-25-2009
1,711
Posted By robin.zhu
Will memory leak happen if free reader writer lock without...
Will memory leak happen if free reader writer lock without first calling pthread_rwlock_destroy?
Forum: Programming 07-25-2007
9,840
Posted By robin.zhu
error "Invalid argument" returned after call sched_setscheduler
the code is below and the was run on Solaris 9.

-----------------------------
struct sched_param param;

param.sched_priority = 99;
if(sched_setscheduler(0, SCHED_RR, &param) == -1)
{
...
29,702
Posted By robin.zhu
i want to set the 2006 to a variable. How to do it?
i want to set the 2006 to a variable. How to do it?
29,702
Posted By robin.zhu
expr: syntax error. why?
i want to get a substring from a string and used such shell script:
var_year=`expr substr "07132006" 5 4`
echo $var_year

but i got such error message: expr: syntax error. why?

Note: Kshell...
Forum: Programming 07-21-2006
5,652
Posted By robin.zhu
my CC link.
On my solaris 9, its:
lrwxrwxrwx 1 root other 14 Feb 7 12:03 /opt/SUNWspro/bin/CC -> ../prod/bin/CC
Forum: Programming 07-21-2006
43,563
Posted By robin.zhu
we use gmake to compile&linke c/c++ program
So, gmake or make are tools to interpret makefile. The real c/c++ compilor is specified in makefile. for example: in my project makefile, there are such lines:
$(TAG)/%.o: %.c
$(CC) $(CFLAGS)...
Forum: Programming 07-18-2006
43,563
Posted By robin.zhu
thanks. and i found that on solaris gmake and make is not same.
shenzhen{bzhu}$ gmake -version
GNU Make version 3.71, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
This is free software; see...
Forum: Programming 07-14-2006
43,563
Posted By robin.zhu
what is the distinguish between gmake and make?
I am working on solaris 9. and use gmake to compile and linke c/c++ program.
anybody can tell me the distinguish between gmake and make? :confused:
32,128
Posted By robin.zhu
thanks
thanks for your reply.
32,128
Posted By robin.zhu
how to read POSIX?
how to read POSIX? poe six or not?
Forum: Programming 07-12-2006
15,094
Posted By robin.zhu
you shoud first compile your program with -g. ...
you shoud first compile your program with -g.
then dbx your exe file.
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 04:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy