473,406 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

anyone know about pthread_delay_np() function??

"pthread_delay_np" function can make a thread sleep, but it is a function in
Unix
and not POSIX, so i did not compile my code...what to do for me??
i just want to make a sleep for the thread,
RedHat Linux thread lib has not pthread_delay_np function, how to do? thx.


Nov 13 '05 #1
5 2476
On Thu, 9 Oct 2003 10:06:08 +0800, "hongky" <ho*****@163.com> wrote in
comp.lang.c:
"pthread_delay_np" function can make a thread sleep, but it is a function in
Unix
and not POSIX, so i did not compile my code...what to do for me??
i just want to make a sleep for the thread,
RedHat Linux thread lib has not pthread_delay_np function, how to do? thx.


Why are you asking here, it has nothing to do with the C language at
all. It is not a standard function, so your question has nothing to
do with the language.

If you want to ask about Linux programming, ask in
news:comp.os.linux.development.apps.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
Nov 13 '05 #2
hongky wrote:

"pthread_delay_np" function can make a thread sleep, but it is a function in
Unix
and not POSIX, so i did not compile my code...what to do for me??
i just want to make a sleep for the thread,
RedHat Linux thread lib has not pthread_delay_np function, how to do? thx.


thread, pthread, Unix, POSIX, sleep are all not described by the C
standard. Thus they are non-portable, and off-topic in c.l.c.
Find a group dedicated to your system, or possibly threads.

--
Chuck F (cb********@yahoo.com) (cb********@worldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net> USE worldnet address!
Nov 13 '05 #3
sorry, bcoz nobody reply my topic:(

"Jack Klein" <ja*******@spamcop.net> wrote in message
news:qa********************************@4ax.com...
On Thu, 9 Oct 2003 10:06:08 +0800, "hongky" <ho*****@163.com> wrote in
comp.lang.c:
"pthread_delay_np" function can make a thread sleep, but it is a function in Unix
and not POSIX, so i did not compile my code...what to do for me??
i just want to make a sleep for the thread,
RedHat Linux thread lib has not pthread_delay_np function, how to do?
thx.
Why are you asking here, it has nothing to do with the C language at
all. It is not a standard function, so your question has nothing to
do with the language.

If you want to ask about Linux programming, ask in
news:comp.os.linux.development.apps.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq

Nov 13 '05 #4
Jack Klein <ja*******@spamcop.net> spoke thus:
If you want to ask about Linux programming, ask in
news:comp.os.linux.development.apps.


Or comp.programming.threads, or whatever that group is...

--
Christopher Benson-Manica | Upon the wheel thy fate doth turn,
ataru(at)cyberspace.org | upon the rack thy lesson learn.
Nov 13 '05 #5
"hongky" <ho*****@163.com> wrote in message news:<bm***********@ariadne.rz.tu-clausthal.de>...
"pthread_delay_np" function can make a thread sleep, but it is a function in
Unix
and not POSIX, so i did not compile my code...what to do for me??
i just want to make a sleep for the thread,
RedHat Linux thread lib has not pthread_delay_np function, how to do? thx.


Try comp.programming.threads instead.
They talk about posix threads there.
Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mr Mint | last post by:
Hi all, I have a page named register.php, which is a form for collecting user data. As an example: - I have the fields Name, Surname, email. - In the <form> tag I have action ="" - The page...
5
by: Shapper | last post by:
Hello, I know this has nothing to do with ASP.Net but since I know people in this forum know a lot about programming maybe someone knows this: Does anyone know a good javascript forum? I need...
10
by: Tim Frawley | last post by:
I am attempting to detect a Shift+Tab in the KeyPress event for back navigation on a control that doesn't support this method. Does anyone have any ideas how to compare e.KeyChar to a ShiftTab? ...
8
by: Neil Rowe | last post by:
Hi all I am writing an App at the moment and I need to be able to download & Upload xml files from an ftp server. Does anyone know how this can be done without using a third party component. ...
0
by: vich | last post by:
i want to test Securing Web Services with X.509 Certificates and i follow to HOLDEVL34: WSE 2.0 Security and Policy in VB.NET but when i import certificate from sample of WSE to Certificates -...
40
by: Jeff | last post by:
I have a system on a network and want to determine if anyone is currently connected to the back-end files. An interesting twist is that I have noticed that some users can be connected (have the...
13
by: Snis Pilbor | last post by:
Hello, Here is an idea I've been toying with to speed up programs but still keep them portable. It's just a very handwavey rough description right now since I haven't worked out details. The...
5
by: tony | last post by:
I'm using PHP 5 on Win-98 command line (ie no web server involved) I'm processing a large csv file and when I loop through it I can process around 275 records per second. However at around...
2
by: Noah Roberts | last post by:
I have a class, that inherits from a class that inherits virtually from another class. I have a breakdown occuring and it is not wrt the virtually inherited class but one of the other MIed pure...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.