* [Bug 1001544] New: services/curses/pdcurses: porting to GCC 4.6
@ 2012-03-24 11:31 bugzilla-daemon
2012-03-25 16:35 ` [Bug 1001544] " bugzilla-daemon
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2012-03-24 11:31 UTC (permalink / raw)
To: ecos-patches
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001544
Summary: services/curses/pdcurses: porting to GCC 4.6
Product: eCos
Version: CVS
Platform: All
OS/Version: Other
Status: NEW
Severity: enhancement
Priority: low
Component: Patches and contributions
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: sergei.gavrikov@gmail.com
CC: ecos-patches@ecos.sourceware.org
Class: Advice Request
Created an attachment (id=1670)
--> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1670)
Fix new compiler warnings
Fix new compiler warnings in a serial driver.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001544] services/curses/pdcurses: porting to GCC 4.6
2012-03-24 11:31 [Bug 1001544] New: services/curses/pdcurses: porting to GCC 4.6 bugzilla-daemon
@ 2012-03-25 16:35 ` bugzilla-daemon
2012-03-26 14:31 ` bugzilla-daemon
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2012-03-25 16:35 UTC (permalink / raw)
To: ecos-patches
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001544
--- Comment #1 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-03-25 17:35:27 BST ---
FYI, as patch (attachment 1670) was tested on real hardware I plan to
apply it in the days if no one has objections.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001544] services/curses/pdcurses: porting to GCC 4.6
2012-03-24 11:31 [Bug 1001544] New: services/curses/pdcurses: porting to GCC 4.6 bugzilla-daemon
2012-03-25 16:35 ` [Bug 1001544] " bugzilla-daemon
@ 2012-03-26 14:31 ` bugzilla-daemon
2012-03-26 16:11 ` bugzilla-daemon
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2012-03-26 14:31 UTC (permalink / raw)
To: ecos-patches
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001544
Jonathan Larmour <jifl@ecoscentric.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jifl@ecoscentric.com
--- Comment #2 from Jonathan Larmour <jifl@ecoscentric.com> 2012-03-26 15:31:15 BST ---
As a patch to the current code, it is fine, please commit.
This is a separate issue really, but when I looked at it, I thought "that isn't
thread-safe". But then I saw that it wasn't thread-safe before either, and then
I saw that the main pdcurses code isn't thread-safe either. So I thought,
that's fine, it's not meant to be thread-safe, although that isn't clear in the
documentation.
But then I see examples/pdcecos_app.c which seems to create a bunch of threads.
But if curses isn't thread-safe, that doesn't seem like a great idea.
In fact I don't really understand the purpose of pdcecos_app.c - why would
users need to start curses threads in a special and unusual way? If it's just
because of the need to create a per-thread data index, then there are other
ways that could be dealt with.
Jifl
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001544] services/curses/pdcurses: porting to GCC 4.6
2012-03-24 11:31 [Bug 1001544] New: services/curses/pdcurses: porting to GCC 4.6 bugzilla-daemon
2012-03-25 16:35 ` [Bug 1001544] " bugzilla-daemon
2012-03-26 14:31 ` bugzilla-daemon
@ 2012-03-26 16:11 ` bugzilla-daemon
2012-03-26 19:13 ` bugzilla-daemon
2012-03-29 18:44 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2012-03-26 16:11 UTC (permalink / raw)
To: ecos-patches
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001544
--- Comment #3 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-03-26 17:11:07 BST ---
(In replay in comment #2)
> As a patch to the current code, it is fine, please commit.
Thanks for review, I'll process it.
> This is a separate issue really, but when I looked at it, I thought
> "that isn't thread-safe". But then I saw that it wasn't thread-safe
> before either, and then I saw that the main pdcurses code isn't
> thread-safe either. So I thought, that's fine, it's not meant to be
> thread-safe, although that isn't clear in the documentation.
>
> But then I see examples/pdcecos_app.c which seems to create a bunch of
> threads. But if curses isn't thread-safe, that doesn't seem like a
> great idea.
You're absolutely right. In those days I did not know that PDCurses is
not thread safe (though and that serial driver is not thread-safe too).
And now I even found a separate record about (in PDCurses HISTORY file)
- Removed the PDC_THREAD_BUILD stuff, which has never worked. For the
record: PDCurses is not thread-safe. Neither is ncurses; and the
X/Open curses spec explicitly makes it a non-requirement.
> In fact I don't really understand the purpose of pdcecos_app.c - why
> would users need to start curses threads in a special and unusual way?
> If it's just because of the need to create a per-thread data index,
> then there are other ways that could be dealt with.
I think it is better to remove that `example' folder, which can mislead
someone else. So, I would remove that example in the next commit. I see
that native PDcurses demos (or eCos PDCurses tests) are more than enough
for the package.
Thank you for your all points.
Sergei
> Jifl
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001544] services/curses/pdcurses: porting to GCC 4.6
2012-03-24 11:31 [Bug 1001544] New: services/curses/pdcurses: porting to GCC 4.6 bugzilla-daemon
` (2 preceding siblings ...)
2012-03-26 16:11 ` bugzilla-daemon
@ 2012-03-26 19:13 ` bugzilla-daemon
2012-03-29 18:44 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2012-03-26 19:13 UTC (permalink / raw)
To: ecos-patches
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001544
--- Comment #4 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-03-26 20:13:02 BST ---
Checked-in.
Also an odd skeleton of PDCurses application for eCos has been removed from
CVS.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1001544] services/curses/pdcurses: porting to GCC 4.6
2012-03-24 11:31 [Bug 1001544] New: services/curses/pdcurses: porting to GCC 4.6 bugzilla-daemon
` (3 preceding siblings ...)
2012-03-26 19:13 ` bugzilla-daemon
@ 2012-03-29 18:44 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2012-03-29 18:44 UTC (permalink / raw)
To: ecos-patches
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001544
Sergei Gavrikov <sergei.gavrikov@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NEXTRELEASE
--- Comment #5 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-03-29 19:44:20 BST ---
Closed.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-29 18:44 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-24 11:31 [Bug 1001544] New: services/curses/pdcurses: porting to GCC 4.6 bugzilla-daemon
2012-03-25 16:35 ` [Bug 1001544] " bugzilla-daemon
2012-03-26 14:31 ` bugzilla-daemon
2012-03-26 16:11 ` bugzilla-daemon
2012-03-26 19:13 ` bugzilla-daemon
2012-03-29 18:44 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).