QT 5.8 Port

Kirspel, Kevin Kevin-Kirspel at idexx.com
Fri Dec 9 13:17:24 UTC 2016


LIBBSD has the poll() functionality.  In order for the pipe to be polled then it needs functionality that is only found in LIBBSD.  I started off using the pipe in the RTEMS tree.  I even added the poll handler to return the correct revents.  The problem was that the RTEMS pipe poll handler needs to call a function in LIBBSD (selrecord) so that it can work with poll().

Kevin Kirspel
Electrical Engineer - Sr. Staff
Idexx Roswell
235 Hembree Park Drive
Roswell GA 30076
Tel: (770)-510-4444 ext. 81642
Direct: (770)-688-1642
Fax: (770)-510-4445

-----Original Message-----
From: devel [mailto:devel-bounces at rtems.org] On Behalf Of Sebastian Huber
Sent: Friday, December 09, 2016 3:44 AM
To: devel at rtems.org
Subject: Re: QT 5.8 Port

Hello Kevin,

we already have a (broken) pipe support in RTEMS

https://urldefense.proofpoint.com/v2/url?u=https-3A__git.rtems.org_rtems_tree_cpukit_libcsupport_src_pipe.c&d=DgIF-g&c=2do6VJGs3LvEOe4OFFM1bA&r=dbavT-WIJ4nBfQFKYnKdAD52Vyq3ZXSzrL9TAm21lZI&m=JsBiBqByZuuh7FFKuLujX-9gC7BaNG4-3Xa1ytmRgcA&s=kS0AINMLfVS4Eoot_vf4iYhQwj3ENj3xMIyrqerJfIc&e= 

What is the befit of using the FreeBSD pipe implementation?

On 07/12/16 19:49, Kirspel, Kevin wrote:
>
> I'm porting QT 5.8 to RTEMS 4.12 and rtems-libbsd.  I had to add pipe 
> support to rtems-libbsd.  I would like to submit the pipe patch but 
> the "git diff" is long due to the fact that the diff includes the 
> entire file contents of the modified sys_pipe.c and pipe.h files.  How 
> do you usually submit patches for review for rtems-libbsd?
>
> Kevin Kirspel
>
> Electrical Engineer - Sr. Staff
>
> Idexx Roswell
>
> 235 Hembree Park Drive
>
> Roswell GA 30076
>
> Tel: (770)-510-4444 ext. 81642
>
> Direct: (770)-688-1642
>
> Fax: (770)-510-4445
>
>
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.rtems.org_ma
> ilman_listinfo_devel&d=DgIF-g&c=2do6VJGs3LvEOe4OFFM1bA&r=dbavT-WIJ4nBf
> QFKYnKdAD52Vyq3ZXSzrL9TAm21lZI&m=JsBiBqByZuuh7FFKuLujX-9gC7BaNG4-3Xa1y
> tmRgcA&s=DmB5g2XWSfm8YAS-McegW2BaDcYR_4LLkQkY5liYzKI&e=

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
devel mailing list
devel at rtems.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.rtems.org_mailman_listinfo_devel&d=DgIF-g&c=2do6VJGs3LvEOe4OFFM1bA&r=dbavT-WIJ4nBfQFKYnKdAD52Vyq3ZXSzrL9TAm21lZI&m=JsBiBqByZuuh7FFKuLujX-9gC7BaNG4-3Xa1ytmRgcA&s=DmB5g2XWSfm8YAS-McegW2BaDcYR_4LLkQkY5liYzKI&e= 



More information about the devel mailing list