_set_sbh_threshold : identifier not found - by AceAmit

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 511177 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 11/16/2009 9:53:12 PM
Access Restriction Public

Description

VS 2010 Beta 2 doesn't support the function _set_sbh_threshold. MSDN doesn't suggest anything about deprecating this functionality.
Sign in to post a comment.
Posted by Raphael Affolter on 4/3/2013 at 4:31 AM
What does "there is no long small block heap" mean?

- long block heap does not exist anymore?

- there is no longer a small block heap?

I am confused. I was using this call only to configure the debug heap to make it faster if a lot of small objects are used.
Posted by AceAmit on 11/25/2009 at 9:19 PM
Thanks a lot.

Regards,
Amit
Posted by Microsoft on 11/25/2009 at 11:54 AM
Hi,

Thanks for your reply. _set_sbh_threshold is removed from VS 2010 since there is no long small block heap. We will update msdn accordingly.

Weidong Huang
Windows C++ Team
Posted by AceAmit on 11/23/2009 at 2:35 AM
Hi Maya,

My application's target audience is using Windows XP and the MSDN link reads that this function is supported on Win XP:
Routine      Required header      Compatibility

_set_sbh_threshold
    

<malloc.h>
    

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003
Posted by Microsoft on 11/20/2009 at 1:40 PM
Hi,

Thank you for reporting your issue.
What OS do you use?
This function is only compatible for pre XP and Win2k3 Server.
http://msdn.microsoft.com/en-us/library/a6x53890(VS.80).aspx

Regards,

Maya Widyasari
Windows C++ Team
Posted by AceAmit on 11/19/2009 at 9:49 PM
It is just "Resolved as" by design. I am assuming that this function will not be supported by VS 2010.
In that case MSDN needs to be updated.
Posted by Microsoft on 11/19/2009 at 1:12 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Thank you
Posted by AceAmit on 11/17/2009 at 10:45 PM
I have attached the zip file demonstrating the issue. Unzip and compile the file with the following command line:
cl /WX vs2010_issues.cpp
Posted by Microsoft on 11/17/2009 at 9:40 PM
Thanks for reporting this issue.

In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided.

Please provide us with a demo zipped project file so that we can conduct further research.

It would be greatly appreciated if you could provide us with that information as quickly as possible. If we do not hear back from you within 7 days, we will close this issue.

Thanks again for your efforts and we look forward to hearing from you.

Visual Studio Product Team