|
Is it necessary to acquire a lock on a variable before reading it from multiple threads?
Started by Andy on
, 13 posts
by 13 people.
Answer Snippets (Read the full thread at stackoverflow):
|
|
Hello, I would like to know how is it possible to use a free C++ program to acquire image from a matrix vision frame grabber. Thanks.
Started by Veronica on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I would guess you have to do both things: Install all... .
Maybe your operating system has its own interface which you can use if the "driver" has been installed .
Look for "SDK" (software development kit).
Check the documentation of your frame grabber card.
|
|
I'm a MATLAB beginner and I would like to know how I can acquire and save 20 images at 5 second intervals from my camera. Thank you very much.
Started by Veronica on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can change.
To acquire the image, does the camera comes with some documented way to control it from a computer? MATLAB = 5; start(vid);
This will acquire 20 images every five seconds until you call STOP.
|
Ask your Facebook Friends
|
We've been lusting after a dashless domain name for a long time. It's registered to someone else who doesn't use it as a public website, the whois data says it expires in a few years.
What should I do to acquire this domain, what should I avoid doing ...
Started by Peter Turner on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at serverfault):
The are only a couple of ways your going to be able to acquire.
Options on how to obtain it.
|
|
Hi, I want to write a java program which will ask for admin permission (admin username and admin password). If I insert the correct information then i will receive an welcome message.
how to write java program to acquire admin permission.
I am using Fedora...
Started by Sunil Kumar Sahoo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Use an "if" statement to check if the password .equals ... .
Look at Scanner(System.in) or the Console class to read the password .
Look at System.out.println for prompting the user and displaying the welcome message (assuming you do not have to use a GUI) .
|
|
I'm writing a Python program with a lot of file access. It's running surprisingly slowly, so I used cProfile to find out what was taking the time.
It seems there's a lot of time spent in what Python is reporting as "{built-in method acquire}". I have ...
Started by Chris B. on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
There may be simple ways of fixing it by
....
Part of your code is trying to get a threading lock, and it is waiting until it has got it .
But to guess I would say that it is the threading.Lock.acquire method .
Without seeing your code, it is hard to guess.
|
|
One of our internally written tool is fed a cvs commit trace of the form:
Checking in src/com/package/AFile.java; /home/cvs/src/com/package/AFile.java,v <-- Afile.java new revision: 1.1.2.56; previous revision: 1.1.2.55 done
The tool then acquires ...
Started by Tahir Akhtar on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I assume it is the latter.
Or to acquire the single file from the repository for further processing.
|
|
I am using EZTWAIN from a powerbuilder application to acquire images from an HP scanner. Recently I tried a Kodak model (i1120) and it seems that it is not supported. Specifically the application freezes during the scanning process (perhaps the problem...
Started by gd047 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The solution is to use the scanner's interface directly....
I had a similar problem with duplex scanning with several libraries .
Check out this company: http://www.data-tech.com/ we use their ImageMan ActiveX suite with PB 10.5 and it works without a problem .
|
|
Is there a way to get the user's email address from within Windows via Win32 or .NET? Is there a registry key or API that contains this information?
EDIT: I have an application that emails my company if our application fails and I wanted to get a return...
Started by Michael Kelley on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
The best way to get the users e-mail address is to ask him... .
I always depends on the applications the user uses (Outlook, Outlook Express, TuhunderBird) .
Have you saved your e-mail address somewhere in the system? There is no standard place to look for .
|
|
I am using in my code at the moment a ReentrantReadWriteLock to synchronize access over a tree-like structure. This structure is large, and read by many threads at once with occasional modifications to small parts of it - so it seems to fit the read-write...
Started by Andrzej Doyle on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
// Do something, possibly acquire write lock for (Node child : node.childs) { doSomething(child of the recursion ?
public void doSomething....
By a recursive traversal of the tree:
public void doSomething(Node node) { // Acquire reentrant lock ...
|