Author giampaolo.rodola
Recipients brett.cannon, davin, eric.snow, giampaolo.rodola, lukasz.langa, nascheme, osvenskan, pitrou, pmpp, rhettinger, ronaldoussoren, skrah, terry.reedy, yselivanov
Date 2019-02-16.23:28:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550359714.34.0.14469022576.issue35813@roundup.psfhosted.org>
In-reply-to
Content
> It looks like it does skip calling ftruncate() if size is 0. From posixshmem.c:

Let me rephrase: are we forced to specify a value (aka call ftruncate()) on create ? If we are as I think, could size have a reasonable default value instead of 0? Basically I'm wondering if we can relieve the common user from thinking about what size to use, mostly because it's sort of a low level detail. Could it perhaps default to mmap.PAGESIZE?
History
Date User Action Args
2019-02-16 23:28:34giampaolo.rodolasetrecipients: + giampaolo.rodola, brett.cannon, nascheme, rhettinger, terry.reedy, ronaldoussoren, pitrou, osvenskan, skrah, pmpp, lukasz.langa, eric.snow, yselivanov, davin
2019-02-16 23:28:34giampaolo.rodolasetmessageid: <1550359714.34.0.14469022576.issue35813@roundup.psfhosted.org>
2019-02-16 23:28:34giampaolo.rodolalinkissue35813 messages
2019-02-16 23:28:34giampaolo.rodolacreate