#2129 new defect

sync() implementation is dangerous

Reported by: Sebastian Huber Owned by:
Priority: normal Milestone: Indefinite
Component: score Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Sebastian Huber)

The sync() implementation has some weaknesses.

  1. No protection of concurrent sync() operations.
  2. Since we have no Newlib locks, other threads must not use file operations during the sync() period.
  3. Deletion of threads during the sync() may lead to all sorts of things.

Change History (6)

comment:1 Changed on Jul 22, 2013 at 11:58:18 AM by Sebastian Huber

I think this is the easy part. Operations on all threads are currently questionable in general. Its also related to:

http://www.rtems.org/pipermail/rtems-devel/2013-July/003509.html

comment:2 Changed on Nov 23, 2014 at 4:17:31 PM by Joel Sherrill

Description: modified (diff)
Owner: changed from Joel Sherrill to Sebastian Huber
Status: newassigned

comment:3 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

comment:4 Changed on Nov 28, 2014 at 12:07:11 PM by Sebastian Huber

Milestone: 4.115.0

I don't have time and budget to fix this at the moment.

comment:5 Changed on Feb 18, 2015 at 2:38:35 PM by Sebastian Huber

Description: modified (diff)
Owner: Sebastian Huber deleted
Status: assignednew

comment:6 Changed on Aug 13, 2017 at 11:50:53 PM by Chris Johns

Milestone: 5.0Indefinite
Version: 4.11
Note: See TracTickets for help on using tickets.