Added additional findpath for the Pthread Library
The PThread library is at leased at debian package
libc6-dev 2.13-7 moved. This Commit adds an additional find_path for the Cmake scripts
extract TemplateTypeInfoBase: TemplateTypeInfo without type introspection
allow to completely disable export of ports read, write and last in scripting

This feature is very expensive, and useless in usage where the
component scripting is not used (e.g., Rock)

So, allow to disable it. It remains enabled by default.
Revert "extract TemplateTypeInfoBase: TemplateTypeInfo without type introspection"

This reverts commit 08306bed866c1f097f711bc29842ae136d1dc5ef.
Merge remote-tracking branch 'orocos/toolchain-2.5'
corba: don't issue a warning if the task was already unbound
corba: fix losing samples if the corba dispatcher incoming queue overflows

The corba dispatching currently works as follows:

  * a channel queues itself in a internal::List object and triggers
    the corba dispatcher
  * the corba dispatcher, *when woken up*, reads the queue, calls
    transferSamples() and removes the processed channel from the
    queue.

The issue is that, in the lock-free case, internal::List is a
fixed-size list of max. size 20. It is therefore possible to have
the following situation:

  port1 bursts with 30 samples
  port2 writes one sample

if the dispatcher does not get called in-between, the port2 will
not get dispatched and therefore port2 won't get transferred.

This patch does not add a channel element in the queue if it is
already present. It means that the maximum useful list size is
the number of ports in the task. Further work would include making
that size configurable, and/or dynamically sizing it to match the
port count of all bound data flow interfaces.
Merge remote-tracking branch 'autobuild/master'
types: add the DataFlowTypeInfo between the TemplateTypeInfo and PrimitiveTypeInfo

This is a temporary, probably rock-only, solution to reduce compilation
time and size for cases where the RTT scripting is not needed.

The DataFlowTypeInfo is a templatetypeinfo without the composition/
decomposition code.
scripting: fix parsing of alias values.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
rtt : remove "using namespace std" from headers to avoid name clash while using third party libraries
corba: in RemoteChannelElement::read, invalidate the connection if reading the remote connection fails

This makes the read-pull behaviour the mirror of the write-push
one.
in exception(), don't cleanup if the task's initial state is Stopped
types: fixing std::string syntax in EnumTypeInfo

Signed-off-by: Steven Bellens <steven.bellens@mech.kuleuven.be>
StructTypeInfo: commenting out debug output

Signed-off-by: Steven Bellens <steven.bellens@mech.kuleuven.be>
activity: initialize default thread with lowest priority instead of '0'

Otherwise, a warning may be issued because of the hardcoded '0' value
not matching a priority value.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
cmake: fix linking order of Xenomai libraries

The order was wrong and newer linkers (Ubuntu 11.10) use --as-needed,
skipping the symbols of one of the libraries.

Signed-off-by: Peter Soetens <peter@thesourceworks.com>
fosi: don't set cpu affinity if 'all' is specified.

Signed-off-by: Eli Reekmans <eli.reekmans@intermodalics.eu>
extras: fix return value of ReadOnlyPointer::-> to const
corba: remove one unnecessary copy, and cleanup the RemoteChannelElement handling of data sources