by: Marco Bubke |
last post by:
Hi
There is the Lock object in the threading module.
But there is no medode there I could aquire a scoped
lock like:
mutex = threading.Lock()
my_lock = mutex.scoped_acquire() # maybe...
|
by: Antoon Pardon |
last post by:
The queue and condition class allow threads to wait only a limited
time. However this currently is implemented by a polling loop.
Now for those who like to avoid polling I have here a Tlock...
|
by: Vinay C |
last post by:
Hi,
Can anyone clear me that, when should we use go for mutex, and in which situation should we opt for monitor, lock, semaphone and other objects, in a multithreaded application for synchronization...
|
by: Sunny |
last post by:
Hi,
I can not understend completely the lock statement.
Actally what is locked:
1. the part of the code between {...}
or
2. the object in lock()
In the docs is written:
for 1: The lock...
|
by: Ron Vecchi |
last post by:
I have a single line file where the line will be read and updated each time
it is opened.
My question is I need to open it with a lock so noone else can read or write
to it untill the lock is...
|
by: UJ |
last post by:
What's the easiest/best way to open a single file from multiple applications
but so only one can read it at a time? I tried a mutex but had problems. I
noticed there is something called a...
|
by: blangela |
last post by:
If you had asked me 5 years ago about the future of C++, I would have
told you that its future was assured for many years to come. Recently,
I have been starting to wonder.
I have been teaching...
|
by: Dan Pavel |
last post by:
Hi,
I did not used Mutex before and I need now.
I have an application that control some workflows on different machines.
I use SNMP for that.
The problem is that the thread used for starting an...
|
by: Chris Forone |
last post by:
hello group,
is there a chance for other functions to get the lock if i have
following loop:
while (running)
{
Lock local(mutex);
}
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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...
|
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,...
|