Omgili - forum search, search forums  
  

Discussions about environment lock variable

Displaying 1 - 10 out of 3,835 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I'm responsible for developing a large Python/Windows/Excel application used by a financial institution which has offices all round the world. Recently the regulations in one country have changed, and as a result we have been told that we need to create...
Started by on , 6 posts by 6 people.  
Failing that, someone with knowledge of Python's and a code signature stashed... .
Usually the best option is to ensure the user running the app has limited potential damage is at least limited to that environment.
It hard to lock things down.
I have 2 threads and a shared float global. One thread only writes to the variable while the other only reads from it, do I need to lock access to this variable? In other words: volatile float x; void reader_thread() { while (1) { // Grab mutex here? ...
Started by on , 8 posts by 8 people.  
I'm not sure how large float is in your environment, but it might if a float is the same size as an int on your architecture, what you could do is make your global variable course of action....
I would lock it down.
Use a lock.
Dear ladies and sirs. This question is in continuation of this one . The deal is simple. Given: A collection of lazily created singletons. Multithreaded environment. Wanted: An implementation with as little lock penalty as possible when an already created...
Started by on , 11 posts by 11 people.  
An itanium processor will allocate the memory of the variable and set the variable BEFORE....
lock(syncRoot) if(!singletons.ContainsKey) singletons[key] = new ...(); return singletons[key from that, very common initialization pattern).
Ask your Facebook Friends
Hello, I have detected a memory corruption in my embedded environment (my program is running on a set top box with a proprietary OS ). but I couldn't get the root cause of it. the memory corruption , itself, is detected after a stress test of launching...
Started by on , 8 posts by 8 people.  
Along the same lines, try holding the lock to the shared memory region for an absurd length.
Snapshots of this data too, you perhaps can log the culprit grabbing the lock before corrupting your data.
In C, how to configure the initial settings for some program, using key-value pairs, with any or all of: a plain text configuration file , environment variables, and options on the command line. Also, how to decide which method's values overide those ...
Started by on , 7 posts by 7 people.  
Arguments might affect the interpretation of config files or environment variable, but you still) Handle config files and environment variable (what order?) Re-run the command line to override all generally commandline argument....
I have one std::list<> container and these threads: One writer thread which adds elements indefinitely. One reader/writer thread which reads and removes elements while available. Several reader threads which access the SIZE of the container (by ...
Started by on , 9 posts by 9 people.  
To overcome this, you could define a new variable volatile unsigned int ContainerSize = 0; Update the....
Someone mentioned a RW lock, this is a good thing calculate the size when called.
A second element is being added, or vice-versa.
Hi WorkAround: I have declared a class level Public static variable and initialized with a value 0 in the environment of ASP.NET 3.5 In load event I Incremented by 1 of that variable Problem: 1).After getting page refresh and even Postback, I am getting...
Started by on , 4 posts by 4 people.  
It will survive many browser sessions until you restart the web server (IIS) or until it restarts on its own (when it decides it needs to refresh its used resources)... .
Static variables keep their values for the duration of the application domain.
What is the most evil or dangerous code fragment you have ever seen in a production environment at a company? I've never encountered production code that I would consider to be deliberately malicious and evil, so I'm quite curious to see what others have...
Started by on , 21 posts by 21 people.  
"); Really Horrific Array/Variable names ( Literal example ): foreach( $variablesarry before I realised they wern't the same....
Register Globals Variable Variables Inclusion of remote files and code via include("http:// ...
At once.
Hi everyone: I know that using environment variables is a thing of the past, but I have no choice but to use them in this project. (It's dictated by the specification.) Let me explain what happens. I have a local service that when started should add several...
Started by on , 15 posts by 4 people.  
Or you could kill the process and re-launch it from a parent whose environment is set the way you want_SETTINGCHANGE, the only thing....
SETTINGCHANGE, the only thing you can do is code injection in order to modify that processes environment.
If someone installs my java application on their computer (windows/linux/mac), how can I make sure my applications ability to read/write files works in all environments. Is there a way for my application to figure out where in the file system it is installed...
Started by on , 6 posts by 6 people.  
Directory, either force the user to set an environment variable (MYAPP_HOME) or scan the whole file.
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • Visual C++ Programming - CodeGuru
Related Searches
lock environment variable    lock environment variable from program modifying   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost