Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #387155

Re: Raspberry brings out 5 dollar computer

From Jan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Newsgroups sci.electronics.design
Subject Re: Raspberry brings out 5 dollar computer
Date 2015-11-30 12:36 +0000
Organization Datemas.de http://www.news.datemas.de
Message-ID <n3hfsf$raf$1@news.datemas.de> (permalink)
References (2 earlier) <v0R5y.165595$dc2.53698@fx24.iad> <3c09ca3f-fa8f-440d-868f-ed816b30fb81@googlegroups.com> <6g46y.269621$1J.109493@fx31.iad> <n3bn29$t5$1@news.datemas.de> <n3haq9$dub$1@gonzo.alcatraz>

Show all headers | View raw


On a sunny day (30 Nov 2015 11:10:01 GMT) it happened Jasen Betts
<jasen@xnet.co.nz> wrote in <n3haq9$dub$1@gonzo.alcatraz>:

>The problems are locking, contention, non-atomicity, and other ways
>that one thread can mess up another.  I wrote a threaded HTTP server
>that would crash for unexplained reasons (project was abandonned) 
>and a threaded oceanic seizmic survey streamer solver that seemed 
>stable enough on linux, but didn't play nicely with VB on windows,
>but the single threaded version was fast enough.

libpthread (Linux) has a whole bunch of useful functions for locking etc.
In my applications usually a simple flag as handshake is enough to tell the main GUI soft that new data has been collected by a thread.
I am at an advantage there because I use libforms (xforms GUI library) and it has already full support,
and an idle_thread so that takes care of GUI.
Also it is a GUI library with only a few kB size
~ # l /usr/lib/libforms.so
lrwxrwxrwx 1 root root 15 Jul 13  2012 /usr/lib/libforms.so -> libforms.so.1.0*
~ # l /usr/lib/libforms.so.1.0
-rwxr-xr-x 1 root root 1844127 Jul 13  2012 /usr/lib/libforms.so.1.0*

~1.8 MB, not bad !

quite different from what I think is time-slot oriented crap like Qt.
Qt 4 took hours to compile on my system, well I have reported about hat fiasco here, Nokia bought it, Nokia is gone.

MS windows? There seem to be more versions than I know about, old win32 code does it still run?
Why bother, MS is dead.


A whole load of GUI based stuff and not GUI based stuff I wrote for Raspberry (Linux) runs fine with threads,
some loading it to just the absolute maximum as far as processor goes.

OTOH there is thing like mplayer (Linux) that has no threads IIRC (does not want threaded code in it)
and plays just great, and xine (media player) that is threads based and takes a while
to figure out what you mean when exiting.... threads to terminate I think.
So it depends, depends on how it is written, both are great media players and I use both, plus ffmpeg ffplay...

Architecture, takes some doing (before you start coding) to figure out the best way.

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-11-26 14:49 +0000
  Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-26 09:58 -0500
    Re: Raspberry brings out 5 dollar computer John Devereux <john@devereux.me.uk> - 2015-11-26 16:26 +0000
    Re: Raspberry brings out 5 dollar computer Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-11-26 12:38 -0800
      Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-26 15:54 -0500
        Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-26 15:57 -0500
        Re: Raspberry brings out 5 dollar computer amdx <nojunk@knology.net> - 2015-11-26 16:40 -0600
          Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-26 19:47 -0500
            Re: Raspberry brings out 5 dollar computer mike <ham789@netzero.net> - 2015-11-26 20:06 -0800
              Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 01:54 -0500
                Re: Raspberry brings out 5 dollar computer asdf <asdf@nospam.com> - 2015-11-28 21:44 +0000
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-28 23:43 +0000
                Re: Raspberry brings out 5 dollar computer Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-11-28 16:03 -0800
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-29 00:34 -0500
            Re: Raspberry brings out 5 dollar computer dakupoto@gmail.com - 2015-12-08 22:22 -0800
              Re: Raspberry brings out 5 dollar computer rickman <gnuarm@gmail.com> - 2015-12-09 01:54 -0500
                Re: Raspberry brings out 5 dollar computer Jasen Betts <jasen@xnet.co.nz> - 2015-12-09 10:57 +0000
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhobbs@gmail.com> - 2015-12-09 05:06 -0800
          Re: Raspberry brings out 5 dollar computer dagmargoodboat@yahoo.com - 2015-11-26 16:52 -0800
            Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-26 20:46 -0500
              Re: Raspberry brings out 5 dollar computer dagmargoodboat@yahoo.com - 2015-11-26 20:18 -0800
  Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-26 10:25 -0500
    Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-11-26 15:47 +0000
      Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-26 11:04 -0500
        Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-11-27 07:42 +0000
          Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhobbs@gmail.com> - 2015-11-27 00:19 -0800
            Re: Raspberry brings out 5 dollar computer rickman <gnuarm@gmail.com> - 2015-11-27 13:29 -0500
          Re: Raspberry brings out 5 dollar computer John Devereux <john@devereux.me.uk> - 2015-11-27 09:31 +0000
            Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-11-27 10:16 +0000
        Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 03:42 -0500
          Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhobbs@gmail.com> - 2015-11-27 00:53 -0800
            Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 09:14 +0000
            Re: Raspberry brings out 5 dollar computer Jeff Liebermann <jeffl@cruzio.com> - 2015-11-27 01:46 -0800
              Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhobbs@gmail.com> - 2015-11-27 02:29 -0800
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 09:55 -0500
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-27 10:54 -0500
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 11:08 -0500
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-27 11:50 -0500
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 12:57 -0500
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 12:59 -0500
                Re: Raspberry brings out 5 dollar computer Rob <nomail@example.com> - 2015-11-27 19:22 +0000
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 18:10 -0500
                Re: Raspberry brings out 5 dollar computer Jasen Betts <jasen@xnet.co.nz> - 2015-11-30 10:15 +0000
                Re: Raspberry brings out 5 dollar computer kristoff <kristoff@skypro.be> - 2015-11-28 15:03 +0100
                Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-11-28 08:46 +1100
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 18:13 -0500
                Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-11-28 08:43 +1100
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 09:58 -0500
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-27 12:01 -0500
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-27 12:24 -0500
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 13:03 -0500
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 13:01 -0500
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-27 15:28 -0500
                Re: Raspberry brings out 5 dollar computer Jasen Betts <jasen@xnet.co.nz> - 2015-11-30 10:25 +0000
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-30 08:08 -0500
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-30 10:02 -0500
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-30 10:37 -0500
                Re: Raspberry brings out 5 dollar computer kristoff <kristoff@skypro.be> - 2015-11-30 19:13 +0100
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-30 15:43 -0500
                Re: Raspberry brings out 5 dollar computer kristoff <kristoff@skypro.be> - 2015-12-01 17:49 +0100
                Re: Raspberry brings out 5 dollar computer Cursitor Doom <curd@notformail.com> - 2015-12-01 19:42 +0000
                Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-11-30 17:05 +1100
                Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-01 07:34 +0000
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-12-01 17:52 -0500
                Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-12-02 01:11 +1100
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-12-02 09:49 -0500
                Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-12-02 17:13 +1100
                Re: Raspberry brings out 5 dollar computer kristoff <kristoff@skypro.be> - 2015-12-04 09:08 +0100
                Re: Raspberry brings out 5 dollar computer rickman <gnuarm@gmail.com> - 2015-12-09 14:03 -0500
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 10:00 -0500
                Re: Raspberry brings out 5 dollar computer Jeff Liebermann <jeffl@cruzio.com> - 2015-11-27 11:15 -0800
              Re: Raspberry brings out 5 dollar computer rickman <gnuarm@gmail.com> - 2015-11-27 13:32 -0500
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-27 18:07 -0500
                Re: Raspberry brings out 5 dollar computer krw <krw@nowhere.com> - 2015-11-27 19:27 -0500
                Re: Raspberry brings out 5 dollar computer Jeff Liebermann <jeffl@cruzio.com> - 2015-11-28 01:19 -0800
                Re: Raspberry brings out 5 dollar computer tabbypurr@gmail.com - 2015-11-28 04:08 -0800
                Re: Raspberry brings out 5 dollar computer dagmargoodboat@yahoo.com - 2015-11-28 05:03 -0800
      Re: Raspberry brings out 5 dollar computer rickman <gnuarm@gmail.com> - 2015-11-26 11:51 -0500
  Re: Raspberry brings out 5 dollar computer Joerg <news@analogconsultants.com> - 2015-11-26 08:00 -0800
    Re: Raspberry brings out 5 dollar computer jrwalliker@gmail.com - 2015-11-26 09:42 -0800
    Re: Raspberry brings out 5 dollar computer John Larkin <jjlarkin@highlandtechnology.com> - 2015-11-26 10:38 -0800
      Re: Raspberry brings out 5 dollar computer rickman <gnuarm@gmail.com> - 2015-11-26 14:17 -0500
        Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-26 15:26 -0500
    Re: Raspberry brings out 5 dollar computer Jasen Betts <jasen@xnet.co.nz> - 2015-11-30 10:36 +0000
  Re: Raspberry brings out 5 dollar computer dagmargoodboat@yahoo.com - 2015-11-26 17:05 -0800
    Re: Raspberry brings out 5 dollar computer John Larkin <jjlarkin@highlandtechnology.com> - 2015-11-26 17:32 -0800
      Re: Raspberry brings out 5 dollar computer dagmargoodboat@yahoo.com - 2015-11-26 20:16 -0800
      Re: Raspberry brings out 5 dollar computer kristoff <kristoff@skypro.be> - 2015-11-28 14:31 +0100
    Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-11-27 15:31 +1100
      Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhobbs@gmail.com> - 2015-11-27 00:36 -0800
        Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-11-28 08:51 +1100
          Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhobbs@gmail.com> - 2015-11-27 14:28 -0800
            Re: Raspberry brings out 5 dollar computer John Larkin <jjlarkin@highlandtechnology.com> - 2015-11-27 14:50 -0800
              Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhobbs@gmail.com> - 2015-11-27 15:09 -0800
          Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-11-28 08:02 +0000
            Re: Raspberry brings out 5 dollar computer John Larkin <jjlarkin@highlandtechnology.com> - 2015-11-28 07:42 -0800
              Re: Raspberry brings out 5 dollar computer rickman <gnuarm@gmail.com> - 2015-11-28 11:42 -0500
            Re: Raspberry brings out 5 dollar computer Jasen Betts <jasen@xnet.co.nz> - 2015-11-30 11:10 +0000
              Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-11-30 12:36 +0000
              Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-30 09:10 -0500
                Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-11-30 17:26 +1100
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-30 17:45 -0500
                Re: Raspberry brings out 5 dollar computer Lasse Langwadt Christensen <langwadt@fonz.dk> - 2015-11-30 14:58 -0800
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-12-01 10:22 -0500
                Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-11-30 18:12 +1100
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-30 18:29 -0500
                Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-01 07:58 +0000
                Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-12-01 10:21 -0500
                Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-01 18:27 +0000
                Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-12-01 15:30 +1100
                Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-02 07:32 +0000
                Re: Raspberry brings out 5 dollar computer Clifford Heath <no.spam@please.net> - 2015-12-02 05:23 +1100
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-12-02 07:30 -0500
                Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-01 07:55 +0000
                Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-12-01 03:00 -0500
      Re: Raspberry brings out 5 dollar computer Phil Hobbs <pcdhobbs@gmail.com> - 2015-11-27 00:47 -0800
    Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-11-27 08:49 +0000
  Re: Raspberry brings out 5 dollar computer dagmargoodboat@yahoo.com - 2015-11-27 15:03 -0800
    Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-11-28 08:10 +0000
  Re: Raspberry brings out 5 dollar computer dakupoto@gmail.com - 2015-12-08 22:12 -0800
    Re: Raspberry brings out 5 dollar computer Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-12-09 08:03 +0000
      Re: Raspberry brings out 5 dollar computer Jasen Betts <jasen@xnet.co.nz> - 2015-12-09 11:00 +0000
        Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-12-09 08:11 -0500
          Re: Raspberry brings out 5 dollar computer tabbypurr@gmail.com - 2015-12-09 10:05 -0800
            Re: Raspberry brings out 5 dollar computer rickman <gnuarm@gmail.com> - 2015-12-09 14:06 -0500
              Re: Raspberry brings out 5 dollar computer tabbypurr@gmail.com - 2015-12-09 15:22 -0800
                Re: Raspberry brings out 5 dollar computer rickman <gnuarm@gmail.com> - 2015-12-09 22:23 -0500
                Re: Raspberry brings out 5 dollar computer tabbypurr@gmail.com - 2015-12-10 04:13 -0800
    Re: Raspberry brings out 5 dollar computer DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-12-09 03:41 -0500

csiph-web