Home GnuPG

w32: Do not use the syscall clamps in pollable mode.
915e1bf2ad1bUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

w32: Do not use the syscall clamps in pollable mode.

* src/estream.c (estream_cookie_w32): Add flag no_syscall_clamp.
(func_w32_create): Add arg no_syscall_clamp.
(func_w32_read): Do not call pre/post_syscall_clamp when flag is set.
(func_w32_write): Ditto.
(func_w32_seek): Ditto.
(do_w32open): Set NO_SYSCALL_CLAMP in pollable mode.
(es_create) [W32]: Make sure that pollable-mode is unly used with the
W32 backend.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 24 2017, 12:17 PM
Parents
rEc9e44c92e081: w32: Replace gpgrt locks in w32-streams by native critical sections.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rE915e1bf2ad1b: w32: Do not use the syscall clamps in pollable mode. (authored by Werner Koch <wk@gnupg.org>).Feb 24 2017, 12:59 PM