[dylan-lang/opendylan] 9999b5: [llvm run-time] Hook up setting thread name.

GitHub <[email protected]> Wed, 20 Jan 2016 09:13:28 -0800
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <569fc038257ba_16f63f99668a72a07765b@hookshot-fe4-cp1-prd.iad.github.net.mail>
----==_mimepart_569fc0382532b_16f63f99668a72a077569
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

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

  Changed paths:
    M sources/app/llvm-runtime-generator/llvm-runtime-generator.dylan
    M sources/lib/run-time/llvm-posix-threads.c

  Log Message:
  -----------
  [llvm run-time] Hook up setting thread name.

This sets the OS thread name to match the Dylan thread name
in the LLVM run-time when using POSIX threads.

* sources/app/llvm-runtime-generator/llvm-runtime-generator.dylan
  ($runtime-referenced-classes): Add <byte-string> as we need to
   get access to the string data for the thread name and we don't
   have a primitive_string_as_raw or similar.

* sources/lib/run-time/llvm-posix-threads.c
  (primitive_initialize_current_thread,
   primitive_initialize_special_thread): If the thread_name is set,
    then set the thread's name at the OS level.


  Commit: d1a680f2a02a967321ccba62a0d6928c61e1ecd1
      https://github.com/dylan-lang/opendylan/commit/d1a680f2a02a967321ccba62a0d6928c61e1ecd1
  Author: Peter S. Housel <[email protected]>
  Date:   2016-01-20 (Wed, 20 Jan 2016)

  Changed paths:
    M sources/app/llvm-runtime-generator/llvm-runtime-generator.dylan
    M sources/lib/run-time/llvm-posix-threads.c

  Log Message:
  -----------
  Merge pull request #1026 from waywardmonkeys/llvm-thread-name

[llvm run-time] Hook up setting thread name.


Compare: https://github.com/dylan-lang/opendylan/compare/f3c16f0590f9...d1a680f2a02a
----==_mimepart_569fc0382532b_16f63f99668a72a077569
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_569fc0382532b_16f63f99668a72a077569--