![]() |
2010-05-31
, 11:35
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#2
|
The Following User Says Thank You to Joorin For This Useful Post: | ||
![]() |
2010-05-31
, 11:47
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#3
|
This is typically done using lock files. The directory /var/run can be used. Or /tmp for lock files that should not survive a reboot.
The Following User Says Thank You to nicolai For This Useful Post: | ||
![]() |
2010-05-31
, 11:54
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#4
|
Isn't that handled by the osso application framework anyway.
Most builtin applications are running with one single instance
only. For example you can not open multiple instances of the
clock or calculator applications.
nicolai
The Following User Says Thank You to Joorin For This Useful Post: | ||
![]() |
2010-05-31
, 12:15
|
Posts: 13 |
Thanked: 0 times |
Joined on May 2010
|
#5
|
![]() |
2010-05-31
, 12:18
|
Posts: 605 |
Thanked: 137 times |
Joined on Nov 2005
@ La Rochelle, France
|
#6
|
![]() |
2010-05-31
, 12:24
|
Posts: 1,208 |
Thanked: 1,028 times |
Joined on Oct 2007
|
#7
|
The Following User Says Thank You to mikkov For This Useful Post: | ||
![]() |
2010-05-31
, 12:25
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#8
|
![]() |
2010-05-31
, 12:28
|
Posts: 13 |
Thanked: 0 times |
Joined on May 2010
|
#9
|
![]() |
2010-05-31
, 12:31
|
Posts: 13 |
Thanked: 0 times |
Joined on May 2010
|
#10
|
I have a computational intensive animation application that I want to run only as a single instance. In other words, if user tries to start the same application again, it should not start. How to do that? Hopefully there is a simple way, though I don't believe so
...