Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1986 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

ThreadPipe allocates void[]

Reported by: winterwar Assigned to: community
Priority: major Milestone: 1.0
Component: Tango Version: 0.99.9 Kai
Keywords: Cc:

Description

tango/io/device/ThreadPipe.d line 59 allocates a void[], which is bad because void[] can contain pointers. It can be fixed by allocating a ubyte[] instead. void[] is undesireable because the GC scans it for pointers.

Change History

09/11/10 17:15:37 changed by mwarning

  • status changed from new to closed.
  • resolution set to fixed.

(In [5553]) fixes #1986 :: ThreadPipe? allocates void[]; thanks wm4