Le 15/03/2013 12:42, Michael Van Canneyt a écrit :


On Fri, 15 Mar 2013, Antonio Fortuny wrote:


-> the process is started and writes to the system log. You should see
what happens in /var/log/syslog.
/var/log/messages:
Mar 15 11:14:29 linux-5yg5 ipservice: [Info] Daemon Sita - Pocket
service current status: Start Pending
Mar 15 11:14:29 linux-5yg5 ipservice: [Info] Failed to start daemon
SitaPocketService : Semaphore init failed (possibly too many
concurrent threads)

both messages are written on every launch. The progran does not use
any explicit semaphore

did you add
{$ifdef unix}
uses cthreads;
{$endif}

To your program's uses clause ?
yes, all units refering to threads

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to