|
SDK Wishes :-) (Wishlist)
SDK Wishes :-) // Wishlist
Jan 19, 2003, 9:54pm
I wish that the SDK was safe with threads, and that a linux SDK would be
created for those of us who use linux servers :-)
J
Jan 19, 2003, 9:57pm
[View Quote]"jstone2004" <j at jlife.net> wrote in message
news:3e2b3a9c$1 at server1.Activeworlds.com...
> I wish that the SDK was safe with threads, and that a linux SDK would be
> created for those of us who use linux servers :-)
|
I still don't understand why you need multithreading for a bot. :P
--Bowen--
Jan 19, 2003, 10:16pm
*shrugs*
J
[View Quote]"bowen" <thisguyrules at 7k2.4mg.com.ANTISPAM> wrote in message
news:3e2b3b69$1 at server1.Activeworlds.com...
>
> "jstone2004" <j at jlife.net> wrote in message
> news:3e2b3a9c$1 at server1.Activeworlds.com...
>
> I still don't understand why you need multithreading for a bot. :P
>
> --Bowen--
>
>
|
Jan 19, 2003, 10:41pm
[View Quote]"jstone2004" <j at jlife.net> wrote in message news:3e2b3ff8 at server1.Activeworlds.com...
> *shrugs*
|
Well find out! :P
--Bowen--
Jan 19, 2003, 10:47pm
I am making a scheduling system with long running tasks, threads are the
only way to do that. You see, I could write 1,000 lines of threads, or
10,000 lines of codes without threads... Which seems more economic?
J
[View Quote]"bowen" <thisguyrules at 7k2.4mg.com.ANTISPAM> wrote in message
news:3e2b459e$1 at server1.Activeworlds.com...
>
> "jstone2004" <j at jlife.net> wrote in message
news:3e2b3ff8 at server1.Activeworlds.com...
>
> Well find out! :P
>
> --Bowen--
>
>
|
Jan 19, 2003, 10:59pm
[View Quote]"jstone2004" <j at jlife.net> wrote in message
news:3e2b4735$1 at server1.Activeworlds.com...
> I am making a scheduling system with long running tasks, threads are the
> only way to do that. You see, I could write 1,000 lines of threads, or
> 10,000 lines of codes without threads... Which seems more economic?
|
Ergonomic. :P
Well, if you can't get the SDK to work with multithreading you have no other choice
but to implement that 10,000 line system.
--Bowen--
Jan 19, 2003, 11:11pm
incorrect, the only other alternative is to do everything with separate
processes, which would be about 4,000 lines per 1000 threads. But, it would
still be good to get the sdk threadsafe, and not that hard either
J
[View Quote]"bowen" <thisguyrules at 7k2.4mg.com.ANTISPAM> wrote in message
news:3e2b4a0e at server1.Activeworlds.com...
>
> "jstone2004" <j at jlife.net> wrote in message
> news:3e2b4735$1 at server1.Activeworlds.com...
>
> Ergonomic. :P
>
> Well, if you can't get the SDK to work with multithreading you have no
other choice
> but to implement that 10,000 line system.
>
> --Bowen--
>
>
|
Jan 19, 2003, 11:38pm
[View Quote]"jstone2004" <j at jlife.net> wrote in message
news:3e2b4ca4$1 at server1.Activeworlds.com...
> incorrect, the only other alternative is to do everything with separate
> processes, which would be about 4,000 lines per 1000 threads. But, it would
> still be good to get the sdk threadsafe, and not that hard either
|
Explain to me how I'm incorrect when I'm restating exactly what you said? You said
10,000 and I assume you meant 400,000, you could've been more exact on your example.
1000 threads is insane for an AW bot, kind of wasteful. You're not writing a
webserver here.
--Bowen--
Jan 20, 2003, 4:35am
ummm... what are you on about?
You have the aw_wait on your primary thread, with your GUI (if you have 1)
running on the second. You use a 3rd thread for calculating events based on
global procedures and pass the arguments for things like aw_say(argv) to a
stacking que to be initiated though the main aw_wait loop o_0. But im sure
your dad understands that, ask him to explain to you.
- Mark
[View Quote]"jstone2004" <j at jlife.net> wrote in message
news:3e2b4735$1 at server1.Activeworlds.com...
> I am making a scheduling system with long running tasks, threads are the
> only way to do that. You see, I could write 1,000 lines of threads, or
> 10,000 lines of codes without threads... Which seems more economic?
>
> J
|
Jan 20, 2003, 11:40pm
but since it's not safe with threads...?
J
[View Quote]"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
news:3e2b98b5 at server1.Activeworlds.com...
> ummm... what are you on about?
>
> You have the aw_wait on your primary thread, with your GUI (if you have 1)
> running on the second. You use a 3rd thread for calculating events based
on
> global procedures and pass the arguments for things like aw_say(argv) to a
> stacking que to be initiated though the main aw_wait loop o_0. But im sure
> your dad understands that, ask him to explain to you.
>
> - Mark
>
> "jstone2004" <j at jlife.net> wrote in message
> news:3e2b4735$1 at server1.Activeworlds.com...
>
>
|
Jan 21, 2003, 12:04am
[View Quote]"jstone2004" <j at jlife.net> wrote in message
news:3e2ca504$1 at server1.Activeworlds.com...
> but since it's not safe with threads...?
|
Doesn't mean it won't work. It's just not well designed for it and you'll probably
end up losing events here and there.
--Bowen--
|