1. threads.. euman?

On 4 Jul 2001, at 2:46, euman at bellsouth.net wrote:


> 
> I dont think that is possible unless you were to setup
> a SystemThread responder.

Euman, can you make any sense out of:
http://www.mathcs.sjsu.edu/faculty/pearce/mfc/chp5/chapter5.htm

and better yet, can you make threads in Eu yet?

Kat,
with fingers crossed.

new topic     » topic index » view message » categorize

2. Re: threads.. euman?

No Kat, I havent done this *YET but looking at the
SDK I think I'll give it a shot sometime this week
after I finish something for PATRAT and a website
Im commited to.
Im almost finished with it (Thank goodness).

I breifly looked at what it might take to do it 
and made about 10 minutes worth of evaluation.
Here's what I see at this point.....maybe it'll give 
someone an idea >?

this should be the same as calling ThreadProc

    id = routine_id("WndProc")
    thread1 = routine_id("Thread1") 
    thread2 = routine_id("Thread2")     
    
    -- get 32-bit address for callback
    WndProcAddress = call_back(id) 
    Thread1ProcAddress = call_back(thread1) 
    Thread2ProcAddress = call_back(thread2) 

then:
 
       CreateThread(NULL,
                                      0, -- 1 meg stack
                           Thread1,
                                      1,
                                      0,
                                      1)

now your procedure or function that is named Thread1
should be setup to do just about anything.
I might mention that the stack being 1 meg default
Im concerned about memory leaks and the likes but
we could work those out. This isnt going to be something
for the timid at heart cause it can really mess a machine
up.

Wish me luck!

Euman
euman at bellsouth.net


----- Original Message ----- 
From: <gertie at ad-tek.net>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, July 04, 2001 20:31
Subject: threads.. euman?


> 
> 
> On 4 Jul 2001, at 2:46, euman at bellsouth.net wrote:
> 
> 
> > 
> > I dont think that is possible unless you were to setup
> > a SystemThread responder.
> 
> Euman, can you make any sense out of:
> http://www.mathcs.sjsu.edu/faculty/pearce/mfc/chp5/chapter5.htm
> 
> and better yet, can you make threads in Eu yet?
> 
> Kat,
> with fingers crossed.
> 
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu