[fpc-pascal] TThread.Suspend under Linux

Graeme Geldenhuys graemeg.lists at gmail.com
Sat Jun 2 09:19:51 CEST 2007


Hi,

I got most of my Thread Manager demo written. While trying out a few
features I noticed that every time as Suspend a thread, my app is
killed.  Running it through gdb I get the following output.

------------------------------------------
(gdb) run
Starting program: /home/graemeg/programming/threadmanager/MultiThreadDemo
[Thread debugging using libthread_db enabled]
[New Thread -1213503280 (LWP 8412)]
[New Thread -1216353392 (LWP 8417)]

Program received signal SIGSTOP, Stopped (signal).
[Switching to Thread -1216353392 (LWP 8417)]
0x080633c1 in SYSTEM_FPSYSCALL$LONGINT$LONGINT$LONGINT$$LONGINT ()
(gdb)
------------------------------------------


I'm using FPC 2.1.3 (r7222) under Linux (2.6.20-16-generic kernel) on
a Intel P4 processor. Any ideas?


-- 
Graeme Geldenhuys

General error, hit any user to continue.



More information about the fpc-pascal mailing list