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


Groups > sci.electronics.design > #386706 > unrolled thread

Raspberry brings out 5 dollar computer

Started byJan Panteltje <pNaOnStPeAlMtje@yahoo.com>
First post2015-11-26 14:49 +0000
Last post2015-12-09 03:41 -0500
Articles 20 on this page of 129 — 23 participants

Back to article view | Back to sci.electronics.design


Contents

  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

Page 5 of 7 — ← Prev page 1 2 3 4 [5] 6 7  Next page →


#386735

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2015-11-26 10:38 -0800
Message-ID<t9ke5bdqverl603j605fumqa2qjtltuanc@4ax.com>
In reply to#386716
On Thu, 26 Nov 2015 08:00:43 -0800, Joerg <news@analogconsultants.com>
wrote:

>On 2015-11-26 06:49, Jan Panteltje wrote:
>> Raspberry brings out 5 dollar computer:
>>   https://www.raspberrypi.org/blog/raspberry-pi-zero
>>
>
>Amazing. Thanks, Jan. I can't use it much because I am an analog guy but 
>other folks sure can. "Made in Wales", I wonder what the production cost 
>breakdown is but I guess that's confidential.

I might have a use for that. Plop it on a motherboard with some power
supply, mux, ADC, RTC, like that, as a data logger.

 

[toc] | [prev] | [next] | [standalone]


#386738

Fromrickman <gnuarm@gmail.com>
Date2015-11-26 14:17 -0500
Message-ID<n37lo7$uh6$1@dont-email.me>
In reply to#386735
On 11/26/2015 1:38 PM, John Larkin wrote:
> On Thu, 26 Nov 2015 08:00:43 -0800, Joerg <news@analogconsultants.com>
> wrote:
>
>> On 2015-11-26 06:49, Jan Panteltje wrote:
>>> Raspberry brings out 5 dollar computer:
>>>    https://www.raspberrypi.org/blog/raspberry-pi-zero
>>>
>>
>> Amazing. Thanks, Jan. I can't use it much because I am an analog guy but
>> other folks sure can. "Made in Wales", I wonder what the production cost
>> breakdown is but I guess that's confidential.
>
> I might have a use for that. Plop it on a motherboard with some power
> supply, mux, ADC, RTC, like that, as a data logger.

The BeagleBone guy came out with an answer to the initial rPi, but I 
can't see a viable response to this.  BTW, he has an effort to supply 
BeagleBones as industrial boards in volumes.  The rPi is still an 
education oriented product even though it gets used in industrial 
applications I'm sure.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#386742

FromDecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org>
Date2015-11-26 15:26 -0500
Message-ID<slqe5bdihv19qqal7s1k16qv3aqdrgjpkq@4ax.com>
In reply to#386738
On Thu, 26 Nov 2015 14:17:42 -0500, rickman <gnuarm@gmail.com> Gave us:

snip

>The BeagleBone guy came out with an answer to the initial rPi, but I 
>can't see a viable response to this.  BTW, he has an effort to supply 
>BeagleBones as industrial boards in volumes.  The rPi is still an 
>education oriented product even though it gets used in industrial 
>applications I'm sure.

  I guess you are too stupid to go look at the site I gave a pointer to.

[toc] | [prev] | [next] | [standalone]


#387152

FromJasen Betts <jasen@xnet.co.nz>
Date2015-11-30 10:36 +0000
Message-ID<n3h8s3$dg2$4@gonzo.alcatraz>
In reply to#386716
On 2015-11-26, Joerg <news@analogconsultants.com> wrote:
> On 2015-11-26 06:49, Jan Panteltje wrote:
>> Raspberry brings out 5 dollar computer:
>>   https://www.raspberrypi.org/blog/raspberry-pi-zero
>
> Amazing. Thanks, Jan. I can't use it much because I am an analog guy but 
> other folks sure can. "Made in Wales", I wonder what the production cost 
> breakdown is but I guess that's confidential.

My guess is It'd be close to $5  PI foundation seems to be a well run
not-for-profit. 


-- 
  \_(ツ)_

[toc] | [prev] | [next] | [standalone]


#386773

Fromdagmargoodboat@yahoo.com
Date2015-11-26 17:05 -0800
Message-ID<fa15b372-4ef1-430f-a058-ca5ae0587e98@googlegroups.com>
In reply to#386706
On Thursday, November 26, 2015 at 9:49:32 AM UTC-5, Jan Panteltje wrote:
> Raspberry brings out 5 dollar computer:
>  https://www.raspberrypi.org/blog/raspberry-pi-zero

Kewl.

Jan, the Pi-2 has a quad core.

https://www.raspberrypi.org/blog/raspberry-pi-2-on-sale/

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.

Cheers,
James Arthur

[toc] | [prev] | [next] | [standalone]


#386775

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2015-11-26 17:32 -0800
Message-ID<6acf5btpa9qa6ibapr84lse0lltpcgu83o@4ax.com>
In reply to#386773
On Thu, 26 Nov 2015 17:05:45 -0800 (PST), dagmargoodboat@yahoo.com
wrote:

>On Thursday, November 26, 2015 at 9:49:32 AM UTC-5, Jan Panteltje wrote:
>> Raspberry brings out 5 dollar computer:
>>  https://www.raspberrypi.org/blog/raspberry-pi-zero
>
>Kewl.
>
>Jan, the Pi-2 has a quad core.
>
>https://www.raspberrypi.org/blog/raspberry-pi-2-on-sale/
>
>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.
>
>Cheers,
>James Arthur

Let one CPU do the slow data stuff (USB, command parsing, logging to
flash, user interface if any) and let another one do the hard realtime
stuff, like control loops.

[toc] | [prev] | [next] | [standalone]


#386785

Fromdagmargoodboat@yahoo.com
Date2015-11-26 20:16 -0800
Message-ID<589f9815-c9b9-42cf-909b-3709c666daee@googlegroups.com>
In reply to#386775
On Thursday, November 26, 2015 at 8:32:53 PM UTC-5, John Larkin wrote:
> On Thu, 26 Nov 2015 17:05:45 -0800 (PST), dagmargoodboat@yahoo.com
> wrote:
> 
> >On Thursday, November 26, 2015 at 9:49:32 AM UTC-5, Jan Panteltje wrote:
> >> Raspberry brings out 5 dollar computer:
> >>  https://www.raspberrypi.org/blog/raspberry-pi-zero
> >
> >Kewl.
> >
> >Jan, the Pi-2 has a quad core.
> >
> >https://www.raspberrypi.org/blog/raspberry-pi-2-on-sale/
> >
> >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.
> >
> 
> Let one CPU do the slow data stuff (USB, command parsing, logging to
> flash, user interface if any) and let another one do the hard realtime
> stuff, like control loops.

Yeah, obviously, but that's only if there is any slow data / USB, blah, blah,
blah stuff.

The cores are all sharing the same memory, so that has to be a bottleneck too
unless you're tight-looping in cache.

The software would be interesting, figuring out how to schedule the four cores
and split the tasks.  But if there *is* only one task, it ain't always to
split up in parallelable paths.

I just don't see a 4x advantage to four cores for a real-time controller.  Maybe
for Windows. <grin>

Cheers,
James

[toc] | [prev] | [next] | [standalone]


#386941

Fromkristoff <kristoff@skypro.be>
Date2015-11-28 14:31 +0100
Message-ID<n3ca6u$vr8$1@dont-email.me>
In reply to#386775
Hi all,



On 27-11-15 02:32, John Larkin wrote:
 >> https://www.raspberrypi.org/blog/raspberry-pi-2-on-sale/
 >> 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.

 > Let one CPU do the slow data stuff (USB, command parsing, logging to
 > flash, user interface if any) and let another one do the hard realtime
 > stuff, like control loops.
Interesting remark.


Anybody any here experience with bare-metal programming on a Raspi? Or 
some RTOS?

At that price, it would make a good pair with some some cheap MCU-based 
board (STM32F4 or something): use the STM for I/O and real-time stuff, 
DSP-stuff and the Pi0 for networking, visualisation, computation, ...


The only thing question I have at this point. Is this 5 of 3.3 volt? (or 
"can it be run at 3.3 volt?")


Cheerio! Kr. Bonne.

[toc] | [prev] | [next] | [standalone]


#386787

FromClifford Heath <no.spam@please.net>
Date2015-11-27 15:31 +1100
Message-ID<v0R5y.165595$dc2.53698@fx24.iad>
In reply to#386773
On 27/11/15 12:05, dagmargoodboat@yahoo.com 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.

Writing parallel apps is more common, but not much more common.
What is more common is structuring them as multiple collaborating
programs/services, each one single-threaded. For example, UI/graphics
is usually a display server (perhaps with parallelism in sections),
and database is easily separated from the main app. Plus desktop
multi-tasking means there's more extrinsic parallelism anyhow.

Beyond that, only FP languages like Haskell, Erlang, Rust are really
getting the benefit; but those are really on the move now, because
you don't even have to plan parallelism, code is written in a mode
that allows the machine to parallelize automatically.

Clifford Heath.

[toc] | [prev] | [next] | [standalone]


#386796

FromPhil Hobbs <pcdhobbs@gmail.com>
Date2015-11-27 00:36 -0800
Message-ID<3c09ca3f-fa8f-440d-868f-ed816b30fb81@googlegroups.com>
In reply to#386787
> 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. More cores just mean more threads running in parallel.  There are APIs to set the affinity, i.e. which threads run on which cores. I hate the way single-threaded apps go out to lunch when they're busy. (Yes, better-written ones stop occasionally and look for user input, but most don't.)

I have classes (such as SerialPort) that use a high-priority thread per object. It just sits in a blocking read, and when data comes in, copies it to a circular buffer. Last time I checked, the Linux task scheduler was brain-dead, so this was more difficult, but that's another story.) 

Hard real-time is easier to do with multiple chips, in my (limited) experience. 

Cheers

Phil Hobbs

[toc] | [prev] | [next] | [standalone]


#386875

FromClifford Heath <no.spam@please.net>
Date2015-11-28 08:51 +1100
Message-ID<6g46y.269621$1J.109493@fx31.iad>
In reply to#386796
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.

Clifford Heath

[toc] | [prev] | [next] | [standalone]


#386877

FromPhil Hobbs <pcdhobbs@gmail.com>
Date2015-11-27 14:28 -0800
Message-ID<cb544480-e924-46cb-9b4b-4d43d938cd8a@googlegroups.com>
In reply to#386875
>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. 

The situation isn't anywhere near as dire as that. I've written clusterized code with over 100 threads. Debugging is harder, that's all. 

Cheers

Phil Hobbs

[toc] | [prev] | [next] | [standalone]


#386881

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2015-11-27 14:50 -0800
Message-ID<qenh5blofadg9e2tdpviqp2n1p866ft2hs@4ax.com>
In reply to#386877
On Fri, 27 Nov 2015 14:28:55 -0800 (PST), Phil Hobbs
<pcdhobbs@gmail.com> wrote:

>>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. 
>
>The situation isn't anywhere near as dire as that. I've written clusterized code with over 100 threads. Debugging is harder, that's all. 
>
>Cheers
>
>Phil Hobbs

Rob here was simulating a polyphase switcher in LT Spice. It was
running pretty slow on his 8-core Dell, so he signed up to run it on a
32-core Amazon virtual machine, which costs about $1 per hour. It
wasn't any faster.

[toc] | [prev] | [next] | [standalone]


#386885

FromPhil Hobbs <pcdhobbs@gmail.com>
Date2015-11-27 15:09 -0800
Message-ID<c8ac6158-17d5-4c73-b24c-9defb6fc9637@googlegroups.com>
In reply to#386881
>Rob here was simulating a polyphase switcher in LT Spice. It was 
>running pretty slow on his 8-core Dell, so he signed up to run it on a 
>32-core Amazon virtual machine, which costs about $1 per hour. It 
> wasn't any faster.

My clusterized EM simulator scales very neatly linearly up to at least 28 cores.

Cheers

Phil Hobbs

[toc] | [prev] | [next] | [standalone]


#386919

FromJan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Date2015-11-28 08:02 +0000
Message-ID<n3bn29$t5$1@news.datemas.de>
In reply to#386875
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.
:-)

[toc] | [prev] | [next] | [standalone]


#386951

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2015-11-28 07:42 -0800
Message-ID<daij5bhq02o2j3n1eq8ng04lposs5rp8gc@4ax.com>
In reply to#386919
On Sat, 28 Nov 2015 08:02:15 GMT, 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.

Our instruments currently use a single-core CPU and, usually, and
FPGA. The main loop, communications and control, is a combination of
interrupt handlers (ethernet, serial, some slow i/o) and a central
stste machine. Fast realtime stuff, like PID loops, is done in
periodic interrupt routines and, if we use an FPGA, in FPGA hardware.
It would be nice to have multiple CPU cores so we could scatter these
things and not care so much about competition for CPU cycles.

We did a couple of microZed projects, dual-core ARM plus FPGA (Xilinx
ZYNQ), but we used Linux so we can only suggest to the OS that one CPU
do the fast stuff. That actually worked well, and we have some timing
measurements on that. I think the "realtime" CPU was never suspended
for more than 20 us, something like that.

There is a microZed appnote for running Linux on one core and true
bare metal on the other, which would be cool if no suspension of the
realtime process could be tolerated...

[toc] | [prev] | [next] | [standalone]


#386959

Fromrickman <gnuarm@gmail.com>
Date2015-11-28 11:42 -0500
Message-ID<n3clcg$aol$1@dont-email.me>
In reply to#386951
On 11/28/2015 10:42 AM, John Larkin wrote:
> On Sat, 28 Nov 2015 08:02:15 GMT, 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.
>
> Our instruments currently use a single-core CPU and, usually, and
> FPGA. The main loop, communications and control, is a combination of
> interrupt handlers (ethernet, serial, some slow i/o) and a central
> stste machine. Fast realtime stuff, like PID loops, is done in
> periodic interrupt routines and, if we use an FPGA, in FPGA hardware.
> It would be nice to have multiple CPU cores so we could scatter these
> things and not care so much about competition for CPU cycles.
>
> We did a couple of microZed projects, dual-core ARM plus FPGA (Xilinx
> ZYNQ), but we used Linux so we can only suggest to the OS that one CPU
> do the fast stuff. That actually worked well, and we have some timing
> measurements on that. I think the "realtime" CPU was never suspended
> for more than 20 us, something like that.
>
> There is a microZed appnote for running Linux on one core and true
> bare metal on the other, which would be cool if no suspension of the
> realtime process could be tolerated...

Once you have an FPGA on the board you can add as many soft core CPUs as 
you wish.  This is a great way to do things like PID loops.  Complex 
processors like the ARM take up significant silicon even when done as a 
hard core.  But a simple CPU can be done in a relative handful of LUTs. 
  Unless your real time stuff need a whole lot of memory it can be 
harder to configure one of the ARM CPUs than it is to invoke a soft core 
CPU.

If your programmers can break out of their C language rut I would 
recommend the J1 CPU.  It is a stack based design intended to run fast 
and take up little space.  At 100 MHz it can do video compression (what 
it was designed for) so it should be able to run a number of PID loops 
or anything else you are likely to need in software.  This should 
greatly improve on your design unit reuse.

-- 

Rick

[toc] | [prev] | [next] | [standalone]


#387153

FromJasen Betts <jasen@xnet.co.nz>
Date2015-11-30 11:10 +0000
Message-ID<n3haq9$dub$1@gonzo.alcatraz>
In reply to#386919
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.




-- 
  \_(ツ)_

[toc] | [prev] | [next] | [standalone]


#387155

FromJan Panteltje <pNaOnStPeAlMtje@yahoo.com>
Date2015-11-30 12:36 +0000
Message-ID<n3hfsf$raf$1@news.datemas.de>
In reply to#387153
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.

[toc] | [prev] | [next] | [standalone]


#387162

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2015-11-30 09:10 -0500
Message-ID<StGdnRq0aZp5xcHLnZ2dnUU7-dWdnZ2d@supernews.com>
In reply to#387153
On 11/30/2015 06:10 AM, Jasen Betts wrote:
> 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.

Events in different threads can happen in any order.  Writing 
thread-safe code isn't any harder than making it exception-safe and 
async-signal safe.  It's easier in C++ than most, because you can use 
RAII (resource acquisition is initialization) to make sure you acquire 
and free resources in the right order, and don't sit on one waiting for 
the other, when another thread is doing the reverse.

Duplication of thread-interaction code is a major no-no for all the 
above reasons.

I haven't looked much at lock-free coding, but AIUI it's faster and 
equally reliable under some situations.

Cheers

Phil Hobbs


-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics

160 North State Road #203
Briarcliff Manor NY 10510

hobbs at electrooptical dot net
http://electrooptical.net

[toc] | [prev] | [next] | [standalone]


Page 5 of 7 — ← Prev page 1 2 3 4 [5] 6 7  Next page →

Back to top | Article view | sci.electronics.design


csiph-web