Linux.com

weedlight

weedlight

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

Latest Posts

Posted by
Topic
Post Preview
Posted
  • weedlight
    RE: Reverse programmatically the Scheduler
    Kernel threads in user space may be of interest, too.
    Link to this post 4 hours ago

    Kernel threads in user space may be of interest, too.

  • weedlight
    RE: Reverse programmatically the Scheduler
    Since we're doing finite computing this can't be so easy. I'll take a look at user space scheduling.
    Link to this post 5 hours ago

    Since we're doing finite computing this can't be so easy. I'll take a look at user space scheduling.

  • weedlight
    Reverse programmatically the Scheduler
    I made some real thoughts linux makes assumptions on timing in conjuction of scheduling. I believe that Advanced Gtk+ Sequencer gains control over the clock. How to invert or reverse the scheduler's assumption.
    Link to this post 1 day ago

    I made some real thoughts linux makes assumptions on timing in conjuction of scheduling. I believe that Advanced Gtk+ Sequencer gains control over the clock. How to invert or reverse the scheduler's assumption.

  • weedlight
    What about wolframalpha.com
    About historically: [url=https://twitter.com/weedlightgmailc]My tweet[/url] Is Mathematica suitable for programming? Please comment ... And where's GNU? ... What's the name of the good borg? ...
    Link to this post 1 day ago

    About historically:
    My tweet

    Is Mathematica suitable for programming?
    Please comment ...

    And where's GNU? ...

    What's the name of the good borg? ...

  • weedlight
    RE: Anti-Time and the probability
    I decided to do an async queue and leave kernel space untainted. It took time but is probably the most accurate way to target this issue.
    Link to this post 16 Jul

    I decided to do an async queue and leave kernel space untainted. It took time but is probably the most accurate way to target this issue.

  • weedlight
    RE: Linux OS question
    Backup first, your data is mandatory! This cheat-sheet isn't believed to be complete. I'm doing you a check-list: [list] [*] DVD-R ready if not go to (1) [*] Boot your DVD disc using given boot order or boot key if not able please see end-note I [*] Follow installation steps and fill in the forms take care of end-note II [*] Restart computer you should either have boot manager menu or it's suppressed if something missing please consider end-note II [/list] [list=123] [*] Download and burn your favourite distribution [/list] I [i]Some systems may be locked either by BIOS password or UEFI secure boot[/i] II [i]It's possible that during installation other OS is damaged don't boot in order having very important data that's very likely lost. Use an other computer to do some research[/i]
    Link to this post 15 Jul

    Backup first, your data is mandatory! This cheat-sheet isn't believed to be complete.

    I'm doing you a check-list:

    • DVD-R ready if not go to (1)

    • Boot your DVD disc using given boot order or boot key if not able please see end-note I

    • Follow installation steps and fill in the forms take care of end-note II

    • Restart computer you should either have boot manager menu or it's suppressed if something missing please consider end-note II

    1. Download and burn your favourite distribution

    I Some systems may be locked either by BIOS password or UEFI secure boot
    II It's possible that during installation other OS is damaged don't boot in order having very important data that's very likely lost. Use an other computer to do some research

  • 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);

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