Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the IUP CPAN distribution.

Report information
The Basics
Id: 121240
Status: new
Priority: 0/
Queue: IUP

Owner: Nobody in particular
Requestors: futuramedium [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: Thread safety - IUP::Canvas::Bitmap gets mangled when (unrelated) thread finishes
Download (untitled) / with headers
text/plain 411b
use strict; use warnings; use threads; use feature 'say'; use IUP ':all'; my $x = IUP::Canvas::Bitmap-> new( CD_RGB, 100, 100 ); say $x-> Width; async( sub { })-> join; say $x-> Width; which says 100 0 The workaround to have permanent worker threads for application lifetime is not always convenient. C:\>perl -v This is perl 5, version 24, subversion 0 (v5.24.0) built for MSWin32-x86-multi-thread-64int

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to