Linking rtapi_app with pthread doesn't make sense.  It doesn't use
pthreads.

Furthermore, I didn't see that behavior on my 9.10 system (x86_64):

$ gdb rtapi_app
GNU gdb (GDB) 7.0-ubuntu
...
Reading symbols from .../emc2-dev/bin/rtapi_app...done.
(gdb) run
Starting program: .../emc2-dev/bin/rtapi_app 
[I started emc then hit ctrl-c in the terminal with gdb]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff6f83373 in select () from /lib/libc.so.6
(gdb) where
#0  0x00007ffff6f83373 in select () from /lib/libc.so.6
#1  0x000000000040540d in maybe_sleep (fd=5) at rtapi/sim_rtapi.c:372
#2  0x000000000040544a in sim_rtapi_run_threads (fd=5) at
rtapi/sim_rtapi.c:387
#3  0x00000000004040e5 in master (argc=<value optimized out>, 
    argv=<value optimized out>) at rtapi/sim_rtapi_app.cc:337
#4  main (argc=<value optimized out>, argv=<value optimized out>)
    at rtapi/sim_rtapi_app.cc:371
(gdb) 

Let's figure out more about what's happening here before changing
anything.

Jeff

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to