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


Groups > sci.electronics.design > #387153

Re: Raspberry brings out 5 dollar computer

From Jasen Betts <jasen@xnet.co.nz>
Newsgroups sci.electronics.design
Subject Re: Raspberry brings out 5 dollar computer
Date 2015-11-30 11:10 +0000
Organization "JJ's own news server"
Message-ID <n3haq9$dub$1@gonzo.alcatraz> (permalink)
References (1 earlier) <fa15b372-4ef1-430f-a058-ca5ae0587e98@googlegroups.com> <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>

Show all headers | View raw


On 2015-11-28, Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> wrote:
> On a sunny day (Sat, 28 Nov 2015 08:51:59 +1100) it happened Clifford Heath
><no.spam@please.net> wrote in <6g46y.269621$1J.109493@fx31.iad>:
>
>>On 27/11/15 19:36, Phil Hobbs wrote:
>>>> They say it's 6x faster, but can a user actually take advantage of the multiple
>>>> cores?  Last I looked (around the Transputer days), no one really knew what
>>>> to do with multiple CPUs in general-purpose applications.  Only array/matrix
>>>> apps seemed to really benefit.
>>>
>>> I've been writing multithreaded apps since OS/2 2.0 came out in 1992.
>>
>>I've written enough multi-threaded apps too. That's not the point.
>>
>>Neither is it the point that 99% of programmers don't think they can 
>>write correct multi-threaded apps (they mostly don't need to).
>>
>>The point is that of the 1% who *think* they can, 99% still can't.
>>
>>Luckily, we only need a very few multi-threaded apps... most commonly 
>>operating system kernels, graphics drivers, and DBMS cores. Everyone 
>>else gets the benefit.
>
> Na, I disagree,
> multi threaded is often inescapable.
> I use threads in many programs,
> do not know if I do it 'right' but it works.
> The threads usually do not use a lot of resources,
> Their main reason is to handle some tasks so then the main program
> is not time bound and simpler.
> For that reason running those threads on a different core makes no sense.
>
> In video processing / encoding however there are specific things that can be done
> on a core, although these days most is done in hardware say for example encoding.
> This is the point, write some HDL and do it in FPGA.
> There is nothing special about writing code with threads.
> Plenty of C code for Linux you can download from my site that work and is used everyday.
> But I keep it simple.
> Hey even the PIC asm I write uses interrupts to run different code pieces,
> what is a 'thread', what is in a name?
>
> Just fighting over words.
> I do not see any Linux programmers having problems with threads, '99 cannot' WTF are you talking about.
> Link with -lpthread
> pthread_create()
> write a start() and stop() and a function that does something, done.
>:-)

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.




-- 
  \_(ツ)_

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