Linux.com

weedlight

weedlight

  • Linux.com Member
  • Posts: 50
  • Member Since: 19 May 09
  • Last Logged In: 23 hours ago

Latest Posts

Posted by
Topic
Post Preview
Posted
  • weedlight
    The end of the internet
    This is the very last [i]e[/i]^-1 ... Does the site end of the internet still exist?
    Link to this post 15 Jul

    This is the very last e^-1 ...

    Does the site end of the internet still exist?

  • weedlight
    RE: Change re:xdg user-dirs and gtk 3.0 bookmarks file
    I'm not sure but is it $HOME environment variable. May be: http://www.tldp.org/LDP/abs/html/ Or even on linuxmanpages.com: `man getuid` or `man getpwuid` This sounds most promising: http://www.linuxmanpages.com/man7/X.7x.php http://www.linuxmanpages.com/man1/Xserver.1x.php
    Link to this post 15 Jul

    I'm not sure but is it $HOME environment variable.

    May be:
    http://www.tldp.org/LDP/abs/html/

    Or even on linuxmanpages.com:
    `man getuid` or `man getpwuid`

    This sounds most promising:
    http://www.linuxmanpages.com/man7/X.7x.php
    http://www.linuxmanpages.com/man1/Xserver.1x.php

  • weedlight
    RE: Anti-Time and the probability
    Some related links: https://sourceforge.net/p/ags/blog/2014/07/mathematical-properties-of-timing/ http://stackoverflow.com/questions/24640204/java-threads-appear-to-be-running-more-than-once
    Link to this post 15 Jul

    Some related links:

    https://sourceforge.net/p/ags/blog/2014/07/mathematical-properties-of-timing/
    http://stackoverflow.com/questions/24640204/java-threads-appear-to-be-running-more-than-once

  • weedlight
    RE: suspend other posix thread(s)
    The code looks like following: [code] void ags_thread_suspend_handler(int sig) { #ifdef AGS_DEBUG g_message("thread suspend\0"); #endif if(ags_thread_self == NULL) return; if ((AGS_THREAD_SUSPENDED & (g_atomic_int_get(&(ags_thread_self->flags)))) != 0) return; g_atomic_int_or(&(ags_thread_self->flags), AGS_THREAD_SUSPENDED); ags_thread_suspend(ags_thread_self); do sigsuspend(&(ags_thread_self->wait_mask)); while ((AGS_THREAD_SUSPENDED & (g_atomic_int_get(&(ags_thread_self->flags)))) != 0); } [/code] And is triggered like this: [code] pthread_kill(thread_id, AGS_THREAD_RESUME_SIG); [/code]
    Link to this post 14 Jul

    The code looks like following:


    void
    ags_thread_suspend_handler(int sig)
    {
    #ifdef AGS_DEBUG
    g_message("thread suspend\0");
    #endif

    if(ags_thread_self == NULL)
    return;

    if ((AGS_THREAD_SUSPENDED & (g_atomic_int_get(&(ags_thread_self->flags)))) != 0) return;

    g_atomic_int_or(&(ags_thread_self->flags),
    AGS_THREAD_SUSPENDED);

    ags_thread_suspend(ags_thread_self);

    do sigsuspend(&(ags_thread_self->wait_mask)); while ((AGS_THREAD_SUSPENDED & (g_atomic_int_get(&(ags_thread_self->flags)))) != 0);
    }

    And is triggered like this:


    pthread_kill(thread_id, AGS_THREAD_RESUME_SIG);

  • weedlight
    RE: Anti-Time and the probability
    Sorry didn't watch star trek for a long time ... I have strange crashes and I'm realy asking me if compution time can exceed on linux: http://stackoverflow.com/questions/24640222/can-compution-time-exceed-on-linux
    Link to this post 12 Jul

    Sorry didn't watch star trek for a long time ...

    I have strange crashes and I'm realy asking me if compution time can exceed on linux:

    http://stackoverflow.com/questions/24640222/can-compution-time-exceed-on-linux

  • weedlight
    Anti-Time and the probability
    The hardware manufacturer builds the machine. Linus orcherstrates the world wide army of developers. Is someone breaking recommendations or voltage laws of our sphere? At what circumstances takes on the tunnel effect? The kernel is just a transparent layer to the machine. Whose fault is it in the case of damage? The GPL says software comes withouth any warranty, isn't it? I'd like to develop a multi threaded tree. How can I overtake the clock? 200 threads sounds like madness ... May be even more than one thread in hardware.
    Link to this post 04 Jul

    The hardware manufacturer builds the machine. Linus orcherstrates the world wide army of developers. Is someone breaking recommendations or voltage laws of our sphere?

    At what circumstances takes on the tunnel effect?

    The kernel is just a transparent layer to the machine. Whose fault is it in the case of damage? The GPL says software comes withouth any warranty, isn't it?

    I'd like to develop a multi threaded tree.
    How can I overtake the clock?

    200 threads sounds like madness ...
    May be even more than one thread in hardware.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board