• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Allow only one program to be running
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Allow only one program to be running


  • Subject: Allow only one program to be running
  • From: Peter <email@hidden>
  • Date: Mon, 24 Nov 2003 09:50:33 +0800

Hello,

I have a cocoa program which run as a single task for a single user. It have no problem when running Jaguar and below since only one user can use it at one time. However on Panther with the feature "fast user switching", the program can be run by many users. The program was design to run one single process because it takes a lot computer time and it does not share data files (one global directory). It will be a havoc, if 2 or more of the programs running at a same time.

Is it possible to detect another instance of the program running by another user ?

Thanks in Advance.

Peter.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Allow only one program to be running
      • From: Phillip Hutchings <email@hidden>
    • Re: Allow only one program to be running
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: using a 3rd party framework...
  • Next by Date: Re: erase RAM completely?
  • Previous by thread: Re: using a 3rd party framework...
  • Next by thread: Re: Allow only one program to be running
  • Index(es):
    • Date
    • Thread