[dylan-lang/opendylan] 2a7385: [run-time] Move set_current_thread_name to shared ...

GitHub <[email protected]> Sun, 17 Jan 2016 05:34:35 -0800
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <569b986bd0c6c_1b633fd6f868b2bc772e4@hookshot-fe6-cp1-prd.iad.github.net.mail>
----==_mimepart_569b986bd0886_1b633fd6f868b2bc77126
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/opendylan
  Commit: 2a73851f7004c9c323d75645ce880de70e683bb8
      https://github.com/dylan-lang/opendylan/commit/2a73851f7004c9c323d75645ce880de70e683bb8
  Author: Bruce Mitchener <[email protected]>
  Date:   2016-01-17 (Sun, 17 Jan 2016)

  Changed paths:
    M sources/lib/run-time/posix-threads.c
    M sources/lib/run-time/thread-utils.c
    M sources/lib/run-time/thread-utils.h

  Log Message:
  -----------
  [run-time] Move set_current_thread_name to shared code.

This was previously only available in the C run-time, but we can
use the same code on all platforms / run-times.

* sources/lib/run-time/posix-threads.c
  (set_current_thread_name): Remove from here.
  (trampoline): Update function name to dylan_set_current_thread_name.

* sources/lib/run-time/thread-utils.c
  (dylan_set_current_thread_name): Move implementation here.

* sources/lib/run-time/thread-utils.h
  (dylan_set_current_thread_name): Add to header.



----==_mimepart_569b986bd0886_1b633fd6f868b2bc77126
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
----==_mimepart_569b986bd0886_1b633fd6f868b2bc77126--