home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 15 Message / 15-Message.zip / oe990925.zip / Pr990924.txt < prev    next >
Text File  |  1999-09-26  |  5KB  |  162 lines

  1.  
  2.                   OS/2 Programming                 (Fidonet)
  3.  
  4.                  Saturday, 18-Sep-1999 to Friday, 24-Sep-1999
  5.  
  6. +----------------------------------------------------------------------------+
  7.  
  8. From: Ian Moote                                         18-Sep-99 14:04:00
  9.   To: MIKE RUSKAI                                       18-Sep-99 21:50:00
  10. Subj: Maximum threads.
  11.  
  12. MR> No, there's no set limit per process.  The only limitation is the
  13. MR> per-process address space.
  14.  
  15. Oh; okay. So that test that Vitus was refering to topped out at 1500 
  16. because of the per-process address space available to that particular 
  17. program.
  18.  
  19.  
  20. MR> The larger the thread stack, the less threads you can start. If
  21. MR> you're going to use that many threads in a process, getting near the
  22. MR> process address space limit [...] it's important to check all memory
  23. MR> allocations, so you don't end up crashing your program.
  24.  
  25. It's a distinct possibility. I've gotten some time and have been reading 
  26. a little more on the topic. I'm still not certain how I'm going to 
  27. attack the project. Nothing's carved in stone yet.
  28.  
  29. Thanks again. Take care and TTYL.
  30.  
  31. ---
  32.  ■■ This tagline soon to be a major motion picture.                        
  33.  
  34. --- AdeptXBBS v1.11y (FREEWare/2)
  35.  * Origin: Moote Pointe (1:2424/224.211)
  36.  
  37. +----------------------------------------------------------------------------+
  38.  
  39. From: David Noon                                        19-Sep-99 00:00:01
  40.   To: Mark Lewis                                        19-Sep-99 00:00:01
  41. Subj: Did you get a Netmail?
  42.  
  43. Hi Mark,
  44.  
  45. I sent you a netmail a couple of months ago regarding this echo and its
  46. e-list entry. I have not received a response so I suspect netmail is broken.
  47. [What's new there?]
  48.  
  49. Can you please reply to dwnoon@ibm.net?
  50.  
  51. Regards
  52.  
  53. Dave
  54. <Team PL/I>
  55. ___
  56.  * MR/2 2.25 #353 * Get the facts first. You can distort them later.
  57.  
  58. --- Maximus/2 2.02
  59.  * Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)
  60.  
  61.  
  62. +----------------------------------------------------------------------------+
  63.  
  64. From: Tom Torfs                                         19-Sep-99 22:29:00
  65.   To: Sean Dennis                                       20-Sep-99 07:46:04
  66. Subj: ... Perl
  67.  
  68. Sean Dennis wrote in a message to David Van Hoose:
  69.  
  70.  SD> ROT13 is a simple 'encryption' code (think of the 'Simple Caesar')
  71.  SD> that people use in USENET to prevent joke punchlines and tv show
  72.  SD> plot spoilers from being read until you're ready.  GoldEd also
  73.  SD> supports this, but it's not encouraged to use this in FidoNet.
  74.  SD> It's extremely easy to write a program that does the same thing. 
  75.  
  76. Anyhow, just in case:
  77.  
  78. /* Rot13 filter */
  79.  
  80. #include <stdio.h>
  81. int main(void)
  82. {
  83.    int c,i;
  84.  
  85.    while ((c=fgetc(stdin))!=EOF)
  86.    {
  87.       if (c>='a' && c<='z')
  88.          c = (((c-'a')+13)%26)+'a';
  89.       else if (c>='A' && c<='Z')
  90.          c = (((c-'A')+13)%26)+'A';
  91.       fputc(c,stdout);
  92.    }
  93.  
  94.    return 0;
  95. }
  96.  
  97. greetings,
  98. Tom
  99. tomtorfs@village.uunet.be
  100.  
  101. --- timEd/2 1.10.y2k+
  102.  * Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)
  103. 724/10
  104.  
  105. +----------------------------------------------------------------------------+
  106.  
  107. From: Tom Torfs                                         19-Sep-99 22:30:00
  108.   To: Sean Dennis                                       20-Sep-99 07:46:04
  109. Subj: ... Perl
  110.  
  111. Tom Torfs wrote in a message to Sean Dennis:
  112.  
  113.  TT>       if (c>='a' && c<='z')
  114.  TT>          c = (((c-'a')+13)%26)+'a';
  115.  TT>       else if (c>='A' && c<='Z')
  116.  TT>          c = (((c-'A')+13)%26)+'A';
  117.  
  118. This assumes contiguous letters of course. Extension to non-contiguous is
  119. fairly obvious (but probably unnecessary for most systems running OS/2).
  120.  
  121. greetings,
  122. Tom
  123. tomtorfs@village.uunet.be
  124.  
  125. --- timEd/2 1.10.y2k+
  126.  * Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516)
  127. 724/10
  128.  
  129. +----------------------------------------------------------------------------+
  130.  
  131. From: Sean Dennis                                       21-Sep-99 12:04:20
  132.   To: Tom Torfs                                         22-Sep-99 09:33:02
  133. Subj: ... Perl
  134.  
  135. Hello Tom.
  136.  
  137. 19 Sep 99 22:30, you wrote to me:
  138.  
  139.  TT>       if (c>> ='a' && c<='z')
  140.  TT>>          c = (((c-'a')+13)%26)+'a';
  141.  TT>>       else if (c>='A' && c<='Z')
  142.  TT>>          c = (((c-'A')+13)%26)+'A';
  143.  
  144.  TT> This assumes contiguous letters of course. Extension to non-contiguous
  145.  TT> is fairly obvious (but probably unnecessary for most systems running
  146.  TT> OS/2).
  147.  
  148. Thanks for that... I'm wanting to learn C and now I have something to look at. 
  149. ;)
  150.  
  151. Later,
  152. Sean
  153.  
  154. ... "A cross upon her bedroom wall/From grace she will fall" -- Type O
  155. Negative
  156. --- AfterHours/2 and GoldED/2 : Enjoying the silence.
  157.  * Origin: a..f..t..e..r..h..o..u..r..s..2..b..b..s (1:395/610)
  158.  
  159. +----------------------------------------------------------------------------+
  160.  
  161. +============================================================================+
  162.