Not so lucky on Linux.

jrs@jrs-laptop:~/sb/examples/iup$ scriba iup_boot3buttons.sb

(scriba:6299): Gdk-WARNING **: scriba: Fatal IO error 11 (Resource
temporarily unavailable) on X server :0.

jrs@jrs-laptop:~/sb/examples/iup$ 


On Sat, 2017-02-18 at 10:11 -0800, John Spikowski wrote:
> Fortunately Script BASIC was designed from the ground up to run in a
> threaded environment. If I can make it work on Linux as well, I'll be
> happy. My direction for Android is use B4J (BASIC for Android) with a
> webservice mobile interface. 
> 
> I've never owned an Apple device which is why I spend no time on that
> platform. Let someone else do it is my position. Script BASIC runs
> fine
> on OSX (console) but no GUI options other than Gtk which looks like
> crap on OSX.
> 
> 
> 
>  
> 
> On Sat, 2017-02-18 at 03:43 -0800, Eric Wing wrote:
> > 
> > On 2/17/17, John Spikowski <supp...@scriptbasic.org> wrote:
> > > 
> > > 
> > > I thought I would share my success with multi-threading IUP on
> > > Windows
> > > 10 with Script BASIC. I'm still early on with testing but so far
> > > things
> > > look promising.
> > > 
> > > http://www.scriptbasic.org/forum/index.php/topic,350.msg1597.html
> > > #m
> > > sg15
> > > 97
> > > 
> > > I'm going to try this on Linux 64 bit and see if it works as
> > > well.
> > > 
> > > 
> > > -JRS-
> > If you are hoping to use IUP on a background thread to control
> > native
> > UI, you should be aware that this is not safe to do on Mac, iOS,
> > and
> > Android and will most likely crash. And it just won't work at all
> > in
> > the web browser/Emscripten since JavaScript doesn't really have
> > threads.
> > 
> > I've seen this gotcha appear multiple times for new SDL/Windows
> > users
> > who design everything on a background thread and it works for them,
> > without ever experimenting on the other platforms. Then they get
> > incredibly mad when they finally try to port to the other platforms
> > and find out that it will never work on a bunch of the other
> > platforms.
> > 
> > 
> > -Eric
> > 
> > -------------------------------------------------------------------
> > -----------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Iup-users mailing list
> > Iup-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/iup-users
> -------------------------------------------------------------------
> -----------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to