|
by: Daniel C Bastos |
last post by:
i'm looking for a way to:
1. start a new process (exec(), proc_open(), popen(), whatever())
2. sleep(some_secs);
3. if the process is still running, kill it.
4. otherwise, go to 1.
any ideas on this?
--
|
by: John Lin |
last post by:
Howdy,
I want to know how to tell if a forked process is done.
Actually, my real question is that I want to run a shell script inside
of a python script, and after the shell script has finished running, I
want to do more stuff *condition* on the fact that the shell script
has finished running, inside the same python script.
The only way I can think of is to fork a process and then call the
|
by: schneider jp |
last post by:
Hi everybody
For a project of system programming, we need to use semaphores, but i got
some pbs...
when I compile, i get perror with sem_open("machin", O_CREAT, 0666, 0); and
perror says function not implemented ... on a sun, i get perror : Invalid
argument...
another question : what's the max number of semaphores a process can
create??
|
by: FiLH |
last post by:
Hello,
I would like to know if posix semaphores are inter processes or just
semaphores for threads inside the same process.
I have not seen it defined in the posix specification I have found, but
I have maybe missed something.
Thanks in advance.
|
by: Edwin New |
last post by:
I have a requirement to run two separate postmasters on the one machine. It
looks like they compete for resources (semaphores) so won't run
concurrently.
I compiled twice, specifying different ports and home directories:
./configure --with-java --with-pgport=6100
--prefix=/usr/local/teprpg01
make
etc...
|
|
by: Steven Spencer |
last post by:
Hi, I'm doing an IT degree at university, and my lecturer's do not teach
m$ technologies. I was wondering if anyone could point me to the
implementation of mutex's and semaphores in .net? Or the microsoft
equivalent of them.
|
by: Dale Strickland-Clark |
last post by:
In Linux this is easy with 'signal' and 'kill' but how can I get one Python
process to signal another (possibly running as a service)?
All I need is a simple prod with no other data being sent and none being
returned - except that the signal was delivered.
Receiving a signal should generate an interrupt. I'm not looking for a
solution the involves polling.
Thanks
|
by: Geevi |
last post by:
Hi to all,
can anybody explain about semaphores?
i want exact definition of semaphore?
i have searched somany books but i could not get it?
whre and how they can be used?
|
by: Ravi |
last post by:
Hi to all,
There is a start button in my page. if user clicks on that then a php
program should start and should listen on a particular port. and also
user should able to do other tasks on that page.
Is there any way to run php file as background process. Or is there
any to run multi thread in php.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: 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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: 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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: 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...
|