Sponsored Content
Full Discussion: Help with pthread error
Top Forums Programming Help with pthread error Post 302483867 by SuperStout on Tuesday 28th of December 2010 05:30:34 PM
Old 12-28-2010
Error Fixed

I had compiled with -lpthread, if i didn't the compiler would give me an error.
the problem was what i had said in the previous response.
thx for the help but is now fixedSmilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Pthread compilation error

I have trouble compiling a pthread program on unix system which suppotrs pthreads it gives unresolved _pthread_create _pthread_exit error. what to do? (1 Reply)
Discussion started by: basavaraj_m
1 Replies

2. Programming

More about Pthread

Can someone point to a link where I can get good info about pthread? thanx.. :) (1 Reply)
Discussion started by: jyotipg
1 Replies

3. Programming

pthread

consider if the thread routine returns any void pointer while calling pthread_join, the thread resources are freed and the thread will be terminated when the main thread is exit ,that is my assumption whether it is true how do we find whether the thread is alive or terminated how do we find... (0 Replies)
Discussion started by: MKSRaja
0 Replies

4. Programming

pthread.h

hallo 2 al can anyone pls tell me where and how can i find and install the pthread.h lib ? thx :cool: (2 Replies)
Discussion started by: XinU*
2 Replies

5. UNIX for Dummies Questions & Answers

Where are the pthread functions??

When I use some of the pthread functions: pthread_join, pthread_exit they work perfect. But when I look in the pthread.h file I can't seem to find any implementations of the functions...where are they hiding?? (2 Replies)
Discussion started by: bigblop
2 Replies

6. UNIX for Dummies Questions & Answers

a pthread problem

Hello, I run my pthread code on Linux with 4 processors. However, the speed up is only 2 times. The code is about solving equation (G+s(i)C)z(i)=B*us(i), i=1,...,n. Here G,C are m*m matrix, B*us(i) is a m*1 vector and s(i) are n different numbers. I need to solve the equation n times to... (2 Replies)
Discussion started by: mgig
2 Replies

7. Programming

Error with Pthread

problem solved edited, sorry (1 Reply)
Discussion started by: joey
1 Replies

8. Programming

How can I parallize using pthread

Hi all, How can i parallize this code in pthread? for(round=1;round<=16;round++) { Expansion(mid, 17 - round - 1, left); Expansion(mid, round - 1, right); round++; Expansion(right, 17 - round - 1, mid); Expansion(left, round - 1,mid); } Whereby each loop depend on the... (2 Replies)
Discussion started by: m_enayah
2 Replies

9. UNIX for Advanced & Expert Users

pthread

I am so confused about the user threads and kernel threads.Suppose I created a thread using pthread create call in Linux ,whether it will be a user thread or kernel thread.If it user thread,then how its map to kernel thread. I heard about the M:1,M:N,1:1 mapping methods.Which method linux is... (1 Reply)
Discussion started by: sujith4u87
1 Replies

10. Programming

pthread()

I have a while loop like so: while (counter (file1)); how can I pass that into a pthread_create()? I was thinking ... while(pthread_create(&path, NULL, counter, file)); is that right? (1 Reply)
Discussion started by: l flipboi l
1 Replies
make(3erl)						     Erlang Module Definition							make(3erl)

NAME
make - A Make Utility for Erlang DESCRIPTION
The module make provides a set of functions similar to the UNIX type Make functions. EXPORTS
all() -> up_to_date | error all(Options) -> up_to_date | error Types Options = [Option] Option = noexec | load | netload | <compiler option> This function first looks in the current working directory for a file named Emakefile (see below) specifying the set of modules to compile and the compile options to use. If no such file is found, the set of modules to compile defaults to all modules in the cur- rent working directory. Traversing the set of modules, it then recompiles every module for which at least one of the following conditions apply: * there is no object file, or * the source file has been modified since it was last compiled, or, * an include file has been modified since the source file was last compiled. As a side effect, the function prints the name of each module it tries to compile. If compilation fails for a module, the make pro- cedure stops and error is returned. Options is a list of make- and compiler options. The following make options exist: * noexec No execution mode. Just prints the name of each module that needs to be compiled. * load Load mode. Loads all recompiled modules. * netload Net load mode. Loads all recompiled modules an all known nodes. All items in Options that are not make options are assumed to be compiler options and are passed as-is to compile:file/2 . Options defaults to [] . files(ModFiles) -> up_to_date | error files(ModFiles, Options) -> up_to_date | error Types ModFiles = [Module | File] Module = atom() File = string() Options = [Option] Option = noexec | load | netload | <compiler option> files/1,2 does exactly the same thing as all/0,1 but for the specified ModFiles , which is a list of module or file names. The file extension .erl may be omitted. The Emakefile (if it exists) in the current directory is searched for compiler options for each module. If a given module does not exist in Emakefile or if Emakefile does not exist, the module is still compiled. EMAKEFILE
make:all/0,1 and make:files/1,2 looks in the current working directory for a file named Emakefile . If it exists, Emakefile should contain elements like this: Modules. {Modules,Options}. Modules is an atom or a list of atoms. It can be * a module name, e.g. file1 * a module name in another directory, e.g. ../foo/file3 * a set of modules specified with a wildcards, e.g. 'file*' * a wildcard indicating all modules in current directory, i.e. '*' * a list of any of the above, e.g. ['file*','../foo/file3','File4'] Options is a list of compiler options. Emakefile is read from top to bottom. If a module matches more than one entry, the first match is valid. For example, the following Emake- file means that file1 shall be compiled with the options [debug_info,{i,"../foo"}] , while all other files in the current directory shall be compiled with only the debug_info flag. {'file1',[debug_info,{i,"../foo"}]}. {'*',[debug_info]}. Ericsson AB tools 2.6.6.3 make(3erl)
All times are GMT -4. The time now is 11:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy