#1  
Old 30th June 2006, 03:42 AM
Scott Martin
 
Posts: n/a
Default Thorsten, Thread example ...

Thorsten,
(or others)

Again, thanks for the info on tnxThread.

Do you have a "basic" sample project laying around that I could review?
Something that contains the use of TnxTable/TnxQuery in the thread(s).

Or perhaps point me to code that already exists?

As mentioned, I am not very fluent at threading and I am afraid looking
at the code for the server may be overwhelming, but I will check it out.

Thanks again,

Regards,
Scott.


  #2  
Old 30th June 2006, 07:11 AM
Hannes Danzl[NDD]
 
Posts: n/a
Default Re: Thorsten, Thread example ...

Scott Martin wrote:

> Thorsten,
> (or others)
>
> Again, thanks for the info on tnxThread.
>
> Do you have a "basic" sample project laying around that I could review?
> Something that contains the use of TnxTable/TnxQuery in the thread(s).
>
> Or perhaps point me to code that already exists?
>
> As mentioned, I am not very fluent at threading and I am afraid looking
> at the code for the server may be overwhelming, but I will check it out.


Take a look at nxdb.pas, specifically the TnxThreadWithSession,
TnxThreadWithDatabase and TnxThreadWithTable classes.

--

Hannes Danzl [NexusDB Developer]
Newsgroup archive at http://www.tamaracka.com/search.htm
  #3  
Old 30th June 2006, 04:12 PM
Thorsten Engler [NDA]
 
Posts: n/a
Default Re: Thorsten, Thread example ...

> Take a look at nxdb.pas, specifically the TnxThreadWithSession,
> TnxThreadWithDatabase and TnxThreadWithTable classes.

what he (*points up*) said...
  #4  
Old 30th June 2006, 08:12 PM
Jerry Hayes
 
Posts: n/a
Default Re: Thorsten, Thread example ...

Scott,

If you're looking for some real-life threading examples, you might want to
look at the Jedi VCL.

While [obviously] not using NexusDB, they do have some components with some
specific purposes and some demos.

HTH,

Jerry


  #5  
Old 30th June 2006, 09:22 PM
Dennis Esmonde-White
 
Posts: n/a
Default Re: Thorsten, Thread example ...

SCOTT :
Like you I am trying to get a grip on threads and how to implement them
successfully. In the past few months I have learned more on threading
from the NexusDb code base and this NG than I could ever have hoped to
have learned from books and arb web resources.

THORSTEN :
I commend, and thank you, for taking the time to answer these not so
related to Nexus/Database/SQL related questions. Many other Newsgroups
are like black holes, but this one has activity. Virtually every single
thread has a reply, and often many replies.

NEXUS TEAM :
It's good to know that I can depend on the Nexus team to help resolve
whatever problems I may encounter now, in the near, medium, and distant
future. Like many other NX users, I have placed a great amount of faith
in the product and solution. I don't post much to the NG's other than to
ask 'My brain is blocked out' questions, but I can say with much
personal reward, the responses to questions asked by many other users
have expanded my horizon long before I even realized I had a question.

AND SO:

Nothing beats clear and concise answers to questions. The static out
there about "Documents" and "Manuals" is obviously a pressing issue for
you guys, however I much prefer the concept of collecting, digesting and
storing real life experiences and examples, as opposed to digging
through heaps of auto generated help files that describe nothing more
than the proc/method/func/prop name, some more words, and an extra hint
for good measure. Most of my ability and knowledge in using various
libraries comes from experimentation, shared code examples and forums.

David Guest has a great idea with his Wiki and has done a lot of work to
put together a forum where user experience and knowledge can be archived
and mined.

ME THINKS NEXUS IS THERE ANYWAY. JUST COLLATE AND FORMAT THE ALREADY
ASKED QUESTIONS ALONG WITH THE ANSWERS IN A EASY TO SEARCH PUBLIC
ARCHIVE. I'M SURE YOU KNOW WHAT DEVEXPRESS IS DOING. IT DEFINITELY WORKS
FOR ME. IMPORTANT POSTINGS ON THIS NG SHOULD BE GOING INTO THE NEXUS
TECH KNOWLEDGE ARCHIVE.

Cheers
Dennis


Scott Martin wrote:
> Thorsten,
> (or others)
>
> Again, thanks for the info on tnxThread.
>
> Do you have a "basic" sample project laying around that I could review?
> Something that contains the use of TnxTable/TnxQuery in the thread(s).
>
> Or perhaps point me to code that already exists?
>
> As mentioned, I am not very fluent at threading and I am afraid looking
> at the code for the server may be overwhelming, but I will check it out.
>
> Thanks again,
>
> Regards,
> Scott.
>
>



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
One more from Thorsten @ borl-3rd party ng. Srinivasan Iyer nexusdb.public.discussions 3 30th June 2006 12:58 AM
Background threads blocking the main thread Dennis Esmonde-White nexusdb.public.discussions 3 12th June 2006 08:38 PM
How to create a different session in diff thread: Marc Pike nexusdb.public.support.sql 1 3rd August 2005 12:24 PM
NexusDB Thread Example William E. Mahaffey nexusdb.public.discussions 8 18th September 2003 12:54 PM


All times are GMT +11. The time now is 04:14 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.