Search:

Type: Posts; User: sundaresh; Keyword(s):

Search: Search took 0.00 seconds.

  1. Recording/Capturing video from laptop camera

    How do I record video from my laptop camera in Ubuntu ? What s/w is available for capturing still photograph's as well as video from the build-in camera on my laptop.
  2. Replies
    4
    Views
    5

    Re: creating a pthread

    Problem solved. I got the desired behavior I need. It is possible to implement memory locking mechanism's independent of the threading facility altogether. Thank you. SIGSEGV is a totally different...
  3. Replies
    4
    Views
    5

    Re: creating a pthread

    Just to say thank you. Sorry for the delay. Too nervous and too scared to actually try it out and see though. But the actual test program was similar but not exactly this since I wanted to see if...
  4. Replies
    4
    Views
    5

    creating a pthread

    #include<stdio.h>
    #include<pthread.h>

    void *mt(void *b) {
    printf("\nReached here\n\n");
    return b;
    }

    int main() {
    pthread_t i;
  5. Thread: struct

    by sundaresh
    Replies
    7
    Views
    8

    Re: struct

    Thanks to you all. Installed multi-verse just now, if #pragma is the fairly standard one could I avoid the gcc specific __attribute__ which I am using now. On an unrelated topic, desperately looking...
  6. Thread: struct

    by sundaresh
    Replies
    7
    Views
    8

    Re: struct

    My apologies, I was not aware struct was a keyword in programming languages other than C/C++ , and I presumed gcc to be the fairly standard C compiler on all Linux distributions including on Ubuntu...
  7. Thread: struct

    by sundaresh
    Replies
    7
    Views
    8

    struct

    Why do struct's take up a lot more memory than the sum of the actual sizes of its members, a lot lot more for larger structs ? If the compiler is using some padding and or aligning features, I would...
  8. Thread: Pthread

    by sundaresh
    Replies
    3
    Views
    4

    Re: Pthread

    I think I'll just try
    pthread_setcancelstate() and
    pthread_setcanceltype(). If this is not enough additionally I'll try
    pthread_cleanup_push() and
    pthread_cleanup_pop().
  9. Thread: Pthread

    by sundaresh
    Replies
    3
    Views
    4

    Pthread

    Is a pthread_rwlock held by a thread automatically released if the thread holding it is killed or abnormally terminated, so the other threads waiting on the lock can acquire it ?
  10. Replies
    1
    Views
    2

    File functions

    I would like the libc of my UBUNTU LINUX installation to be 64-bit and not 32 bit, so open can open a file larger than 2GB. I downloaded and installed the UBUNTU image and even though it was for a...
  11. Thread: pthread

    by sundaresh
    Replies
    2
    Views
    3

    pthread

    How do I link with the pthread library ?
  12. Replies
    7
    Views
    8

    Re: info for glibc

    Just what I needed to know. Much thanks to all of you.
  13. Replies
    7
    Views
    8

    Re: info for glibc

    Just the info that is all. Most of the tools I know and can handle are already available, even if they are a bit older versions, that is ok. Just the info for those. I have installed glibc-doc. In...
  14. Replies
    7
    Views
    8

    Re: info for glibc

    apt-cache depends build-essential generates the same output as you have shown. So I did apt-cache for each of the packages separately, and the concatenated output of each of them is


    libc6-dev
    ...
  15. Replies
    7
    Views
    8

    info for glibc

    I would like to install glibc particularly info for glibc as well, ideally the latest version, as also other c/c++ gnu development tools complete. How ?
  16. Replies
    2
    Views
    3

    Re: Connecting to wi fi

    This is basically a broadband connection with limited wireless localized to only within a small area around the house/office. This form of wi fi is probably outmoded and phased out in most places...
  17. Replies
    2
    Views
    3

    Connecting to wi fi

    I am a basic user of computer. I have installed ubuntu on my desktop through a 3rd party so I do not know if he has installed a test version or a release version. Although I have broadband wi fi , my...
  18. Replies
    2
    Views
    3

    Connecting to internet

    I have a dual-boot windows and Ubuntu(16.10,I am not so sure) on my desktop. The ubuntu does not automatically detect the wifi broadband connection to the internet. How do I solve this problem ?
  19. Thread: Not booting

    by sundaresh
    Replies
    1
    Views
    413

    [ubuntu] Not booting

    When I turn on my computer, Ubuntu 12.04 LTS, the screen says, error out of disk, error: bad filename, and it goes to grub rescue>
    Please help!
  20. Thread: libm

    by sundaresh
    Replies
    3
    Views
    523

    libm

    gcc gives undefined reference to log and floor, ld exit status 1.
    I cannot find any libm.a or libm.so file in /lib or /usr/lib or /var/lib.
    Where can I download this file and in which directory do...
  21. Thread: libm

    by sundaresh
    Replies
    3
    Views
    523

    libm

    I have a simple program which uses log and floor. When I try compiling it with gcc with -lm option it returns undefined reference to these functions and a.out is not generated. However if I just...
Results 1 to 21 of 21