All of lore.kernel.org
 help / color / mirror / Atom feed
From: Registrierungen <regist@bmwedler.de>
To: Philippe Gerum <rpm@xenomai.org>, xenomai@xenomai.org
Subject: Re: [Xenomai] Xenomai 3.0rc creating alchemy task in a shared object
Date: Thu, 30 Apr 2015 10:04:02 +0200	[thread overview]
Message-ID: <5541E1F2.1090908@bmwedler.de> (raw)
In-Reply-To: <5541DB07.4050304@xenomai.org>

Thanks for your reply.

Please not that it works fine for the standalone application.

Just in case, the task is created inside a staticaly linked shared 
object the error occurs.

Here ist the config:

CONFIG_MMU=1
CONFIG_SMP=1
CONFIG_XENO_BUILD_ARGS=" '--prefix=/usr' 
'--includedir=/usr/include/xenomai' '--mandir=/usr/share/man' 
'--with-testdir=/usr/lib/xenomai/testsuite' '--build' 'x86_64-linux-gnu' 
'build_alias=x86_64-linux-gnu'"
CONFIG_XENO_BUILD_STRING="x86_64-pc-linux-gnu"
CONFIG_XENO_COBALT=1
CONFIG_XENO_COMPILER="gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) "
CONFIG_XENO_DEFAULT_PERIOD=100000
CONFIG_XENO_FORTIFY=1
CONFIG_XENO_HOST_STRING="x86_64-pc-linux-gnu"
CONFIG_XENO_LORES_CLOCK_DISABLED=1
CONFIG_XENO_PREFIX="/usr"
CONFIG_XENO_RAW_CLOCK_ENABLED=1
CONFIG_XENO_REVISION_LEVEL=9
CONFIG_XENO_SANITY=1
CONFIG_XENO_TLSF=1
CONFIG_XENO_TLS_MODEL="initial-exec"
CONFIG_XENO_UAPI_LEVEL=9
CONFIG_XENO_VERSION_MAJOR=2
CONFIG_XENO_VERSION_MINOR=99
CONFIG_XENO_VERSION_NAME="Exact Zero"
CONFIG_XENO_VERSION_STRING="3.0-rc1"
CONFIG_XENO_X86_VSYSCALL=1
---
CONFIG_XENO_ARM_SA1100 is OFF
CONFIG_XENO_ARM_TSC_TYPE is OFF
CONFIG_XENO_ASYNC_CANCEL is OFF
CONFIG_XENO_COPPERPLATE_CLOCK_RESTRICTED is OFF
CONFIG_XENO_CPU_XSC3 is OFF
CONFIG_XENO_DEBUG is OFF
CONFIG_XENO_DEBUG_FULL is OFF
CONFIG_XENO_LIBS_DLOPEN is OFF
CONFIG_XENO_MERCURY is OFF
CONFIG_XENO_PSHARED is OFF
CONFIG_XENO_REGISTRY is OFF
CONFIG_XENO_VALGRIND_API is OFF

Regards

   Sascha


Am 30.04.2015 um 09:34 schrieb Philippe Gerum:
> On 04/30/2015 07:37 AM, Registrierungen wrote:
>> Hello,
>>
>> i ve got a working xenomai application using alchemy tasks and try to
>> outource funtionallity into a shared object.
>> If i try to create a thread (same code like in the application) in the
>> shared object rt_create_task allways returns EEXISTS.
>> Name parameter change or set to NULL does not change anything.
>>
>> Are there any side effects if i try to create alchemy tasks inside a
>> shared object or are there any restrictions?
>>
> Short answer, no. However, I can't comment more on this issue, since I
> don't know which -rc you are currently running, whether this is a dual
> kernel or single kernel configuration, etc.
>
> The output of the following command may help:
>
> $ ./your-app --dump-config
>



  reply	other threads:[~2015-04-30  8:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-30  5:37 [Xenomai] Xenomai 3.0rc creating alchemy task in a shared object Registrierungen
2015-04-30  7:34 ` Philippe Gerum
2015-04-30  8:04   ` Registrierungen [this message]
2015-04-30  8:23     ` Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5541E1F2.1090908@bmwedler.de \
    --to=regist@bmwedler.de \
    --cc=rpm@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.