mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Josiah Worcester <josiahw@gmail.com>
To: musl@lists.openwall.com
Subject: Re: syscall_cp
Date: Fri, 29 Jan 2016 22:50:47 +0000	[thread overview]
Message-ID: <CAMAJcuD71qZ=_qMTdsX+ANzSi6b4vYp5J3Qr+eTE7o=Yb1Pu5w@mail.gmail.com> (raw)
In-Reply-To: <CAD+Cw=cBoBMnVPBYbr1upQDMjgb8_13DmKQhoujnugK85G9gWg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

syscall_cp does largely the same thing as syscall. However, it also checks
for a current cancellation request, and exports some symbols (before and
after the syscall call) which are used in the thread cancellation
implementation. It makes it so the cancellation handler can know whether or
not the cancellation request happened during or after a syscall. (if
during, it needs to cancel the thread, if after, then it needs to continue
executing until the next cancellation point.)

On Fri, Jan 29, 2016 at 2:41 PM Max Ruttenberg <
mruttenberg@emutechnology.com> wrote:

> What is syscall_cp and what is it supposed to do that syscall isn't?
>
>
> --
> Max Ruttenberg,
> Member of the Technical Staff
> Emu *Technology*
> 1400 E Angela Blvd, Unit 101
> South Bend, IN 46617
>

[-- Attachment #2: Type: text/html, Size: 1602 bytes --]

  parent reply	other threads:[~2016-01-29 22:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-29 22:40 syscall_cp Max Ruttenberg
2016-01-29 22:45 ` syscall_cp Nathan McSween
2016-01-29 22:50 ` Josiah Worcester [this message]
2016-01-29 23:03   ` syscall_cp Max Ruttenberg
2016-01-29 23:16     ` syscall_cp Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMAJcuD71qZ=_qMTdsX+ANzSi6b4vYp5J3Qr+eTE7o=Yb1Pu5w@mail.gmail.com' \
    --to=josiahw@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).