Re: need help with linux terminology



kelly wrote:
Hello,
I need someone to tell me the terminology when
I start another linux console. I need to automate
my testing where I run 2 executables at the same
time accessing one shared library. I put a sleep(7)
in my source code for the process to take long.

Thanks.


If only it were so simple. When you say 'shared library' what do you
mean? Do you mean some data that you have declared, or one of the built-ins?

If it is one of the built-ins, sleep(7) simply won't cut it - how can
you control whatever is happening elsewhere on the machine. 99.99% of
the time that will work fine, but 0.01% something, possibly *very* bad
will happen.

I think you need to be looking at mutex's, semaphores or monitors,
depending what language you are using, and the granularity of the
control you need.

Steve
.



Relevant Pages

  • More Before-The-Fact-Isms II, blocking viruses and spyware through NTFS
    ... so now it's possible to restrict access to executables through the NTFS ... BUILTIN\Administrators Full Control ... Then I have a script launch on logon - either a domain logon script run ...
    (microsoft.public.security)
  • Re: DASD: to share or not to share
    ... As part of our migration to z/OS from z/VSE we have started a discussion ... Applications executables ... update, control, twist, fold, spindle or mutilate. ... Memory or it is on a non-shared PAGE data set. ...
    (bit.listserv.ibm-main)
  • Re: how do i remove a page break
    ... A page break is a control that is normally manually inserted on the form ... (unless one is dealing with a wizard that executes VBA code to automate ... selecting the "Page Break" icon on the Toolbox toolbar and dragging it to ... > Hi Gunny ...
    (microsoft.public.access.forms)
  • Re: Automatically naming and linking controls
    ... Chip Pearson has also given some suggestions for coding a solution that may help automate this task. ... the checkbox linked to the cell beneath each control. ... each of those controls with the cell directly beneath it. ... manually typing the '' and 'LinkedCell' property for ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Stopping Outlook from running
    ... executables. ... Downside is that you have to be in an Active Directory ... > control them physically. ... > prevent MS outlook and Outlook Express from running. ...
    (microsoft.public.outlook.general)