"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_n p function, how to do? thx. 5 2491
On Thu, 9 Oct 2003 10:06:08 +0800, "hongky" <ho*****@163.co m> 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_n p 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.li nux.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.l earn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
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_n p 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********@yah oo.com) (cb********@wor ldnet.att.net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home .att.net> USE worldnet address!
sorry, bcoz nobody reply my topic:(
"Jack Klein" <ja*******@spam cop.net> wrote in message
news:qa******** *************** *********@4ax.c om... On Thu, 9 Oct 2003 10:06:08 +0800, "hongky" <ho*****@163.co m> 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_n p 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.li nux.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.l earn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
Jack Klein <ja*******@spam cop.net> spoke thus: If you want to ask about Linux programming, ask in news:comp.os.li nux.development .apps.
Or comp.programmin g.threads, or whatever that group is...
--
Christopher Benson-Manica | Upon the wheel thy fate doth turn,
ataru(at)cybers pace.org | upon the rack thy lesson learn.
"hongky" <ho*****@163.co m> 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_n p function, how to do? thx.
Try comp.programmin g.threads instead.
They talk about posix threads there. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 register.php has a condition
if (isset($_POST)) {
include('register2.php');
}
|
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 to get some help on a preload images function.
Thank You,
Miguel
|
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?
Tim
|
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.
Regards
Neil
|
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 - Current User\Personal -->Client Private.pfx
Certificates (Local Computer)\Personal -->Server Private.pfx
Certificates - Current User\Other People -->Server Public.cer
And my code to sign certificate as
Dim mytoken As UsernameToken
mytoken = New...
| |
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 front end open at the first form) and even though this links to
the back-end files, there are no ldb files created.
This is so I know when it is safe to compact the back-end files without
going round to make sure everyone is logged off. User...
|
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 program would contain lots of little utility functions which do
small amounts of work. None of these would actually be run. Rather,
they would be typecast as strings and those strings would be examined
by the program. In otherwords, the...
|
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 6,000 records this suddenly drops off to around 40
records per second.
This is a big problem as the "live" list is over 4 million records long.
I'd break it up but this is to be a regular test so that would be messy
|
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 virtual
classes.
I get this in my call stack at the point of explosion:
Flo.exe!DDocument::Dispatch(DFZone * ptr=0x0298d260) Line 94 + 0x32
bytes C++
Flo.exe!DDocument::Dispatch(DFZone * __A0=0x0298d260) + 0x2f
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |