SDK Wishes :-) (Wishlist)

SDK Wishes :-) // Wishlist

1  |  

jstone2004

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

bowen

Jan 19, 2003, 9:57pm
[View Quote] I still don't understand why you need multithreading for a bot. :P

--Bowen--

jstone2004

Jan 19, 2003, 10:16pm
*shrugs*

J

[View Quote]

bowen

Jan 19, 2003, 10:41pm
[View Quote] Well find out! :P

--Bowen--

jstone2004

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

Jan 19, 2003, 10:59pm
[View Quote] 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--

jstone2004

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

Jan 19, 2003, 11:38pm
[View Quote] 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--

strike rapier

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

Jan 20, 2003, 11:40pm
but since it's not safe with threads...?

J

[View Quote]

bowen

Jan 21, 2003, 12:04am
[View Quote] 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--

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn