Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Number of Threads in our application (C++) server process increases when evaluating CLIPS rules
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andy  
View profile  
 More options Apr 2 2009, 1:44 pm
From: Andy <perry.and...@siemens.com>
Date: Thu, 2 Apr 2009 10:44:13 -0700 (PDT)
Local: Thurs, Apr 2 2009 1:44 pm
Subject: Number of Threads in our application (C++) server process increases when evaluating CLIPS rules
We have integrated v6.24 of CLIPS into our C++ based application.
Using process explorer (Process Explorer, process 'Properties' dialog,
'Threads' tab, 'Stack' button...) on windows, we see that there is
normally 7 threads tied to our application server process.  Once we
initialize the CLIPS environment and evaluate a rule through CLIPS
api's, we see that there are an additional 11 threads tied to our
application server process.  Are these additional threads from the
CLIPS rules engine?  This was identified in windows, but will they
also show up in our unix environments?

I have included the output from the process explorer showing the stack
contents of the threads:

<our application server>.exe: (1)

ntkrnlpa.exe+0x6e9ab
ntkrnlpa.exe+0x2bf82
ntkrnlpa.exe+0x2c864
ntkrnlpa.exe+0xe975c
ntkrnlpa.exe+0x6a62c
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12
ACE.dll!ACE_OS::thr_join+0x24

MSVCR80.dll: (6)  (5 ACE threads, and the windows-specific error
handler thread)

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12
ACE.dll!ACE_OS::sema_wait+0xf

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
MSWSOCK.dll+0x5fa7
WS2_32.dll!select+0xa7
ACE.dll!ACE_OS::select+0x2c

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12
ACE.dll!ACE_OS::sema_wait+0xf

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
MSWSOCK.dll+0x5fa7
WS2_32.dll!select+0xa7
ACE.dll!ACE_OS::select+0x2c

ntkrnlpa.exe+0x6e9ab
ntkrnlpa.exe+0x2bf82
ntkrnlpa.exe+0x2c864
ntkrnlpa.exe+0xa89fa
ntkrnlpa.exe+0xa97f7
ntkrnlpa.exe+0xa22a8
ntkrnlpa.exe+0x6a62c
ntdll.dll!KiFastSystemCallRet
libsyss.dll!ERROR_register_out_of_memory_code+0xda
MSVCR80.dll!endthreadex+0x3b
MSVCR80.dll!endthreadex+0xc7

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12
ACE.dll!ACE_OS::sema_wait+0xf

msvcrt.dll: (11)   All of these showed up after initializing CLIPS and
evaluating a rule:

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12
msvcrt.dll!endthreadex+0xa9
kernel32.dll!GetModuleFileNameA+0x1b4

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12
msvcrt.dll!endthreadex+0xa9
kernel32.dll!GetModuleFileNameA+0x1b4

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForSingleObject+0x12
msvcrt.dll!endthreadex+0xa9
kernel32.dll!GetModuleFileNameA+0x1b4

<first 5 entries on stack same set as our application server>
ntdll.dll!KiFastSystemCallRet
kernel32.dll!Sleep+0xf


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
CLIPS Support  
View profile  
 More options Apr 3 2009, 8:58 am
From: CLIPS Support <gdronline2...@swbell.net>
Date: Fri, 3 Apr 2009 05:58:22 -0700 (PDT)
Local: Fri, Apr 3 2009 8:58 am
Subject: Re: Number of Threads in our application (C++) server process increases when evaluating CLIPS rules
CLIPS does not explicitly allocate any threads itself. Any threads
created would be a result of the code generated by the compiler or the
calls to the system libraries used by the compiler.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "split string function for clips?" by jo
jo  
View profile  
 More options Apr 17 2009, 11:04 am
From: jo <etaoi...@yahoo.com>
Date: Fri, 17 Apr 2009 08:04:47 -0700 (PDT)
Local: Fri, Apr 17 2009 11:04 am
Subject: split string function for clips?

hi

I am looking for a function like explode but that can explode with a specific delimiter not just whitespace.

Thanks
J.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Johan Lindberg  
View profile  
 More options Apr 18 2009, 5:46 am
From: Johan Lindberg <johan.h.lindb...@gmail.com>
Date: Sat, 18 Apr 2009 11:46:01 +0200
Local: Sat, Apr 18 2009 5:46 am
Subject: Re: split string function for clips?
Hi,

> I am looking for a function like explode but that can explode with a specific delimiter not just whitespace.

I wrote one a couple of years ago that you might be able to use.
You'll find some more details and the code on my, now defunct, blog[1]

BR
Johan Lindberg
jo...@pulp.se

[1] http://commentsarelies.blogspot.com/2007/11/added-some-functionality-...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jo  
View profile  
 More options Apr 20 2009, 5:11 am
From: jo <etaoi...@yahoo.com>
Date: Mon, 20 Apr 2009 02:11:51 -0700 (PDT)
Local: Mon, Apr 20 2009 5:11 am
Subject: Re: split string function for clips?

Could you relax the license GNU General Public License as my employer does not allow GPL code !

Thanks
J


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »