10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I do not know the use of the -o -v -R operators.
This is what the info says and I am confused of what optname and varname
mean, are they just normal variable?
-o optname
True if the shell option optname is enabled. See the list of
options under the ... (6 Replies)
Discussion started by: kristinu
6 Replies
2. Programming
Hey everyone, I'm really getting into learning C, but as I look at more advanced example code, I see things like
if (!*variable1)
blah blah blah...
and
variable2 ^= *(variable1++);
my question is, when you have a combination of two operators, like !*. The ! means 'not' and the *... (2 Replies)
Discussion started by: Lost in Cyberia
2 Replies
3. Shell Programming and Scripting
Hi everyone,
I read some shell script code,then I have some issue.
the following code.
let "t1 = ((5 + 3, 7 - 1, 15 - 4))"
echo "t1 = $t1"
t1=11
Here t1 is set to the result of the last operation.why? (3 Replies)
Discussion started by: luoluo
3 Replies
4. Homework & Coursework Questions
I really don't know the meaning of these operators. Could someone explain the meanings?
<, <=, ==, !=, >=, >,
||, &&, ! ~ , !~
Thanks! (1 Reply)
Discussion started by: Erjen
1 Replies
5. Shell Programming and Scripting
I really don't know the meaning of these operators. Could someone explain the meanings so I can make my test for today?
<, <=, ==, !=, >=, >,
||, &&, ! ~ , !~
Thanks! (1 Reply)
Discussion started by: Erjen
1 Replies
6. Shell Programming and Scripting
Hi All,
I have 2 variables. Result1 and Result2. I want to put a condition that if Both are True then echo "All True" Else Show Error.
Right now i am doing this and getting error.
if ;
then
echo "All True"
else
echo "Failed"
fi;
Error.
line 8: '
Solution: Looking for (2 Replies)
Discussion started by: mkashif
2 Replies
7. Programming
Hi All,
Is it possible to multiply a number by two without using Arithmetic and Shift operators?
_Thanks (5 Replies)
Discussion started by: rvan
5 Replies
8. UNIX for Dummies Questions & Answers
I am trying to understand
Does the following:
{tmp+=$10}
Mean take $10 and add them all up and call it tmp
thanks! (2 Replies)
Discussion started by: llsmr777
2 Replies
9. UNIX for Advanced & Expert Users
Hi guys, I'm trying to run more than one "if" condition at once. What I want is something like
if ] or ] or ]; then
...
I can't remember the syntax for using this or/and set operators. Can someone please assist/ jog my memory?
thanks
Khoom (2 Replies)
Discussion started by: Khoomfire
2 Replies
10. UNIX for Advanced & Expert Users
can anybody write a program to divide a number by another number using bitwise operators (9 Replies)
Discussion started by: areef4u
9 Replies
__gnu_parallel::parallel_tag(3) Library Functions Manual __gnu_parallel::parallel_tag(3)
NAME
__gnu_parallel::parallel_tag -
SYNOPSIS
Inherited by __gnu_parallel::balanced_quicksort_tag, __gnu_parallel::balanced_tag, __gnu_parallel::default_parallel_tag,
__gnu_parallel::exact_tag, __gnu_parallel::multiway_mergesort_exact_tag, __gnu_parallel::multiway_mergesort_sampling_tag,
__gnu_parallel::multiway_mergesort_tag, __gnu_parallel::omp_loop_static_tag, __gnu_parallel::omp_loop_tag, __gnu_parallel::quicksort_tag,
__gnu_parallel::sampling_tag, and __gnu_parallel::unbalanced_tag.
Public Member Functions
parallel_tag ()
parallel_tag (_ThreadIndex __num_threads)
_ThreadIndex __get_num_threads ()
void set_num_threads (_ThreadIndex __num_threads)
Detailed Description
Recommends parallel execution at compile time, optionally using a user-specified number of threads.
Definition at line 46 of file tags.h.
Constructor & Destructor Documentation
__gnu_parallel::parallel_tag::parallel_tag () [inline]
Default constructor. Use default number of threads.
Definition at line 53 of file tags.h.
__gnu_parallel::parallel_tag::parallel_tag (_ThreadIndex__num_threads) [inline]
Default constructor. Recommend number of threads to use.
Parameters:
__num_threads Desired number of threads.
Definition at line 58 of file tags.h.
Member Function Documentation
_ThreadIndex __gnu_parallel::parallel_tag::__get_num_threads () [inline]
Find out desired number of threads.
Returns:
Desired number of threads.
Definition at line 63 of file tags.h.
Referenced by __gnu_parallel::__parallel_sort().
void __gnu_parallel::parallel_tag::set_num_threads (_ThreadIndex__num_threads) [inline]
Set the desired number of threads.
Parameters:
__num_threads Desired number of threads.
Definition at line 73 of file tags.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Jun 10 2014 __gnu_parallel::parallel_tag(3)