fstream - detach in aCC


 
Thread Tools Search this Thread
Operating Systems HP-UX fstream - detach in aCC
# 1  
Old 05-12-2007
fstream - detach in aCC

How to use detach function for aCC.

Error 187:
"/cc/smc3/root/development/auto_activation/AARS/src/ResultServer.cpp",
line 623 # Referenced object 'detach' is not a member of class
basic_ofstream<char,std::char_traits<char> >
["/opt/aCC/include_std/fstream", line 368].
READ_TOKEN(tmp)
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How to detach root mirror pool?

I have to do patching in single user mode in solaris 10 zfs root pool. Before that I have to detach the root mirror pool so that if patching fails then I can boot from detached root mirror pool. Please let me know how can I detach root pool bash-3.2# zpool status pool: rpool state: ONLINE... (5 Replies)
Discussion started by: hb00
5 Replies

2. Programming

Replacing a word of a text file, in C++ fstream

How to replace a word in text file using c++ fstream. Is there a way, without creating any temporary file. Could you please share pseudo code ??? (1 Reply)
Discussion started by: techmonk
1 Replies

3. UNIX for Advanced & Expert Users

nohup: can't detach from console: Inappropriate ioctl for device

Hi! I am getting a nohup issue on mac osx while trying to start a process through nohup in the startup script. nohup: can't detach from console: Inappropriate ioctl for device Please help! Thanks, Allan. (0 Replies)
Discussion started by: jacki
0 Replies

4. Solaris

veritas volume in DETACH STATE

Hello, recently some disks lost contact with solaris 10 system but the disks came back online on their own. I used "vxreattach disk" to attach them to dg and started raid 5 volume. Voulme's kstate is Enabled however state is DETACH. It bothers me a lot. In this state also I can mount the... (1 Reply)
Discussion started by: upengan78
1 Replies

5. Shell Programming and Scripting

Auto mount/rsync/detach script

Hi All, I have got a box here running FreeNAS and have started to hack at someone elses script to make it do what I want. In particular his script was; 1) encrypting the USB attached device - which I dont need. 2) repeated beeping when finished (one long beep would be fine) 3) I dont... (0 Replies)
Discussion started by: bigal.nz
0 Replies

6. Solaris

IPMP configuration and detach problem

Hi, I've a problem when try to detach nic e1000g1. IPMP configuration: # ifconfig -a ...cut... e1000g1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 7 inet 0.0.0.0 netmask 0 ether 0:c:29:67:16:ef e1000g2: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4>... (3 Replies)
Discussion started by: gxmsgx
3 Replies

7. HP-UX

aCC compiler help

hello, i'm now working on a traduction of a makefile from HP_UX environnement to IBM_AIX environnement, so , first of all i need help about aCC compiler and the meaning of each option of compilation, and if possible its equivalent in AIX it's urgent, any help will be highly appreciated (0 Replies)
Discussion started by: kingmastersimo
0 Replies

8. HP-UX

ACC Compiler

Hi, Can anybody guide as to whether the aCC compiler for RISC (9000/785) be used with ia64 processor? (2 Replies)
Discussion started by: slash_blog
2 Replies

9. Solaris

Solaris has a lot of bugs, fstream wont write to file correctly!

I've got a c++ program that works fine on Linux, compiles on Solaris fine with g++, but will not write to a fstream correctly in a class object. And I've run into numerous other bugs in the disk management. Jon (4 Replies)
Discussion started by: Joncamp
4 Replies
Login or Register to Ask a Question
PTHREAD_ATTR_SETDETACHSTATE(3)				     Linux Programmer's Manual				    PTHREAD_ATTR_SETDETACHSTATE(3)

NAME
pthread_attr_setdetachstate, pthread_attr_getdetachstate - set/get detach state attribute in thread attributes object SYNOPSIS
#include <pthread.h> int pthread_attr_setdetachstate(pthread_attr_t *attr, int detachstate); int pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachstate); Compile and link with -pthread. DESCRIPTION
The pthread_attr_setdetachstate() function sets the detach state attribute of the thread attributes object referred to by attr to the value specified in detachstate. The detach state attribute determines whether a thread created using the thread attributes object attr will be created in a joinable or a detached state. The following values may be specified in detachstate: PTHREAD_CREATE_DETACHED Threads that are created using attr will be created in a detached state. PTHREAD_CREATE_JOINABLE Threads that are created using attr will be created in a joinable state. The default setting of the detach state attribute in a newly initialized thread attributes object is PTHREAD_CREATE_JOINABLE. The pthread_attr_getdetachstate() returns the detach state attribute of the thread attributes object attr in the buffer pointed to by detachstate. RETURN VALUE
On success, these functions return 0; on error, they return a nonzero error number. ERRORS
pthread_attr_setdetachstate() can fail with the following error: EINVAL An invalid value was specified in detachstate. ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). +-------------------------------+---------------+---------+ |Interface | Attribute | Value | +-------------------------------+---------------+---------+ |pthread_attr_setdetachstate(), | Thread safety | MT-Safe | |pthread_attr_getdetachstate() | | | +-------------------------------+---------------+---------+ CONFORMING TO
POSIX.1-2001, POSIX.1-2008. NOTES
See pthread_create(3) for more details on detached and joinable threads. A thread that is created in a joinable state should eventually either be joined using pthread_join(3) or detached using pthread_detach(3); see pthread_create(3). It is an error to specify the thread ID of a thread that was created in a detached state in a later call to pthread_detach(3) or pthread_join(3). EXAMPLE
See pthread_attr_init(3). SEE ALSO
pthread_attr_init(3), pthread_create(3), pthread_detach(3), pthread_join(3), pthreads(7) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2017-09-15 PTHREAD_ATTR_SETDETACHSTATE(3)