[Lazarus] Linux service

Antonio Fortuny a.fortuny at sitasoftware.lu
Fri Mar 15 12:58:24 CET 2013



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 at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>






More information about the Lazarus mailing list